From 7c8c68d79343d04be382334c15a73d079450857c Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Oct 2021 23:05:01 +0800 Subject: *misc --- Runtime/Scripting/LuaBindCFunctions.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Runtime/Scripting/LuaBindCFunctions.cpp (limited to 'Runtime/Scripting/LuaBindCFunctions.cpp') diff --git a/Runtime/Scripting/LuaBindCFunctions.cpp b/Runtime/Scripting/LuaBindCFunctions.cpp deleted file mode 100644 index ca662a3..0000000 --- a/Runtime/Scripting/LuaBindCFunctions.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "LuaBindCFunctions.h" -#include "LuaBindConfig.h" - -namespace LuaBind -{ - - 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