summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/LuaBindCFunctions.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-17 23:05:01 +0800
committerchai <chaifix@163.com>2021-10-17 23:05:01 +0800
commit7c8c68d79343d04be382334c15a73d079450857c (patch)
tree9aaacc042f0b7eeb4123c07dcc5f49c14fd8026c /Runtime/Scripting/LuaBindCFunctions.cpp
parent6e73ca6ada8a41692809dae5db89c8db0675ce1e (diff)
*misc
Diffstat (limited to 'Runtime/Scripting/LuaBindCFunctions.cpp')
-rw-r--r--Runtime/Scripting/LuaBindCFunctions.cpp19
1 files changed, 0 insertions, 19 deletions
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