summaryrefslogtreecommitdiffstats
path: root/src/Bindings/virtual_method_hooks.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-06 14:44:52 +0200
committerMattes D <github@xoft.cz>2014-07-06 14:44:52 +0200
commit7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1 (patch)
treea658f12400d2f061f60d44aadb1db005a514438f /src/Bindings/virtual_method_hooks.lua
parentFixed crafting grid updating. (diff)
parentTolua generates LuaState_Call.inc file. (diff)
downloadcuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.tar
cuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.tar.gz
cuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.tar.bz2
cuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.tar.lz
cuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.tar.xz
cuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.tar.zst
cuberite-7e3b26e7ba7904f0200c15ff65102c6f26d3c3e1.zip
Diffstat (limited to '')
-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)