aboutsummaryrefslogtreecommitdiff
path: root/src/lua/bit/luaopen_bit.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-12 21:58:25 +0800
committerchai <chaifix@163.com>2018-08-12 21:58:25 +0800
commit66ce10d67bfb9a9496427f92082168ef263ebac0 (patch)
treea927cf2173985e998670dabab12e3f41cf9a6d55 /src/lua/bit/luaopen_bit.cpp
parent02298dd5b704e9a87b907e1e7df27decccfd0620 (diff)
*change bit module function name
Diffstat (limited to 'src/lua/bit/luaopen_bit.cpp')
-rw-r--r--src/lua/bit/luaopen_bit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lua/bit/luaopen_bit.cpp b/src/lua/bit/luaopen_bit.cpp
index d6c8197..9610a84 100644
--- a/src/lua/bit/luaopen_bit.cpp
+++ b/src/lua/bit/luaopen_bit.cpp
@@ -63,13 +63,13 @@ namespace lua
}
static const luaL_Reg f[] = {
- { "AND", l_and },
- { "OR" , l_or },
- { "XOR", l_xor },
- { "NOT", l_not },
- { "LS", l_lshift },
- { "RS", l_rshift },
- { "INC", l_include },
+ { "bAnd", l_and },
+ { "bOr" , l_or },
+ { "bXor", l_xor },
+ { "bNot", l_not },
+ { "bLs", l_lshift },
+ { "bRs", l_rshift },
+ { "bInc", l_include },
// , offset