diff options
author | chai <chaifix@163.com> | 2019-06-06 00:11:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-06-06 00:11:18 +0800 |
commit | 88b882ed0b432c6aff2063213e2f793a36dd25f7 (patch) | |
tree | 5fe5d5334050e1a1146aa63e61e88aa2f5170727 /source/3rd-party/Luax/luax_cfunctions.cpp | |
parent | f6c0498c9728a286c13980ed3b60763d02e1b3a0 (diff) |
*misc
Diffstat (limited to 'source/3rd-party/Luax/luax_cfunctions.cpp')
-rw-r--r-- | source/3rd-party/Luax/luax_cfunctions.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source/3rd-party/Luax/luax_cfunctions.cpp b/source/3rd-party/Luax/luax_cfunctions.cpp deleted file mode 100644 index d93a0ee..0000000 --- a/source/3rd-party/Luax/luax_cfunctions.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "luax_cfunctions.h" -#include "luax_config.h" - -namespace Luax -{ - - int luax_c_getupvalue(lua_State* L) - { - lua_pushvalue(L, lua_upvalueindex(1)); - return 1; - } - - int luax_c_errfunc(lua_State* L) - { - cc8* msg = luaL_optstring(L, lua_upvalueindex(1), ""); - return luaL_error(L, msg); - } - -}
\ No newline at end of file |