From f706f0e17ac2e7893feddc96b496db89f35e94a8 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 10 Nov 2021 19:49:15 +0800 Subject: *misc --- Runtime/Lua/LuaBind/LuaBindLFunction.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Runtime/Lua/LuaBind/LuaBindLFunction.h (limited to 'Runtime/Lua/LuaBind/LuaBindLFunction.h') diff --git a/Runtime/Lua/LuaBind/LuaBindLFunction.h b/Runtime/Lua/LuaBind/LuaBindLFunction.h new file mode 100644 index 0000000..1ad6fa0 --- /dev/null +++ b/Runtime/Lua/LuaBind/LuaBindLFunction.h @@ -0,0 +1,21 @@ +#pragma once +#include "LuaBindInvoker.h" + +namespace LuaBind +{ + struct LuaFunction : public GlobalInvoker + { + const char* method; // full name + + LuaFunction(lua_State* L, const char* func) + : GlobalInvoker(L) + , method(func) + {} + + void Invoke(int nReturns) override + { + + } + }; + +} \ No newline at end of file -- cgit v1.1-26-g67d0