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.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Runtime/Scripting/LuaBindCFunctions.h (limited to 'Runtime/Scripting/LuaBindCFunctions.h') diff --git a/Runtime/Scripting/LuaBindCFunctions.h b/Runtime/Scripting/LuaBindCFunctions.h deleted file mode 100644 index 696570e..0000000 --- a/Runtime/Scripting/LuaBindCFunctions.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef __LUA_BIND_CFUNCTIONS_H__ -#define __LUA_BIND_CFUNCTIONS_H__ - -#include "LuaBindConfig.h" - -/** - * luax_cfunction里的函数用来注册给lua,一些特殊功能的通用函数。 -*/ - -namespace -{ - - /// - /// 获得第一个upvalue - /// - extern int luax_c_getupvalue(lua_State* L); - - /// - /// 调用此函数时会报错,upvalue(1)是错误信息 - /// - extern int luax_c_errfunc(lua_State* L); - -} - -#endif \ No newline at end of file -- cgit v1.1-26-g67d0