summaryrefslogtreecommitdiffstats
path: root/src/Bindings/virtual_method_hooks.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-01 22:19:14 +0200
committermadmaxoft <github@xoft.cz>2014-07-01 22:29:39 +0200
commitb6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3 (patch)
treee499076c8f34ae09680b83ca46be240f9b56245b /src/Bindings/virtual_method_hooks.lua
parentInitial codegen for LuaState_Call.inc. (diff)
downloadcuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.tar
cuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.tar.gz
cuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.tar.bz2
cuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.tar.lz
cuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.tar.xz
cuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.tar.zst
cuberite-b6d5d50b31e4fd0d34f42deb3aa51ebc8ae6f7f3.zip
Diffstat (limited to 'src/Bindings/virtual_method_hooks.lua')
-rw-r--r--src/Bindings/virtual_method_hooks.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Bindings/virtual_method_hooks.lua b/src/Bindings/virtual_method_hooks.lua
index c610d424f..8ad30bf78 100644
--- a/src/Bindings/virtual_method_hooks.lua
+++ b/src/Bindings/virtual_method_hooks.lua
@@ -3,6 +3,20 @@ local disable_virtual_hooks = true
local enable_pure_virtual = true
local default_private_access = false
+
+
+
+
+-- Code generators used by the build
+-- Note that these are not exactly needed for the bindings, but rather we
+-- misuse tolua's Lua engine to process files for us
+dofile("gen_LuaState_Call.lua")
+
+
+
+
+
+
local access = {public = 0, protected = 1, private = 2}
function preparse_hook(p)