summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaBind/LuaBindLFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Lua/LuaBind/LuaBindLFunction.h')
-rw-r--r--Runtime/Lua/LuaBind/LuaBindLFunction.h21
1 files changed, 21 insertions, 0 deletions
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