From 2f595dccbf1657ad7e2a502bf72b15dcfe74b8c7 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 1 Aug 2018 20:28:19 +0800 Subject: *update --- src/lua/math/luaopen_math.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/lua/math/luaopen_math.cpp') diff --git a/src/lua/math/luaopen_math.cpp b/src/lua/math/luaopen_math.cpp index ea169e3..98abeab 100644 --- a/src/lua/math/luaopen_math.cpp +++ b/src/lua/math/luaopen_math.cpp @@ -61,13 +61,13 @@ namespace jin } static const luaL_Reg f[] = { - { "and", l_and }, - { "or" , l_or }, - { "xor", l_xor }, - { "not", l_not }, - { "lshift", l_lshift }, - { "rshift", l_rshift }, - { "inc", l_include}, + { "AND", l_and }, + { "OR" , l_or }, + { "XOR", l_xor }, + { "NOT", l_not }, + { "LSHIFT", l_lshift }, + { "RSHIFT", l_rshift }, + { "INC", l_include}, { 0, 0 } }; -- cgit v1.1-26-g67d0