From 6e73ca6ada8a41692809dae5db89c8db0675ce1e Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Oct 2021 16:01:30 +0800 Subject: -Runner --- Runner/Scripting/luax_cfunctions.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Runner/Scripting/luax_cfunctions.cpp (limited to 'Runner/Scripting/luax_cfunctions.cpp') diff --git a/Runner/Scripting/luax_cfunctions.cpp b/Runner/Scripting/luax_cfunctions.cpp deleted file mode 100644 index d93a0ee..0000000 --- a/Runner/Scripting/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 -- cgit v1.1-26-g67d0