From 66ce10d67bfb9a9496427f92082168ef263ebac0 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 12 Aug 2018 21:58:25 +0800 Subject: *change bit module function name --- src/lua/bit/luaopen_bit.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/lua/bit/luaopen_bit.cpp') 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 -- cgit v1.1-26-g67d0