summaryrefslogtreecommitdiffstats
path: root/src/Bindings/AllToLua.pkg
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-24 22:52:55 +0100
committermadmaxoft <github@xoft.cz>2014-02-24 22:52:55 +0100
commitf96801290ed658997d8388e825a52e9cb195045b (patch)
tree9f6ae63d23f4f34fca3e29624ee019c82d7310e2 /src/Bindings/AllToLua.pkg
parentFixed compilation in MSVC (forward class definitions). (diff)
downloadcuberite-f96801290ed658997d8388e825a52e9cb195045b.tar
cuberite-f96801290ed658997d8388e825a52e9cb195045b.tar.gz
cuberite-f96801290ed658997d8388e825a52e9cb195045b.tar.bz2
cuberite-f96801290ed658997d8388e825a52e9cb195045b.tar.lz
cuberite-f96801290ed658997d8388e825a52e9cb195045b.tar.xz
cuberite-f96801290ed658997d8388e825a52e9cb195045b.tar.zst
cuberite-f96801290ed658997d8388e825a52e9cb195045b.zip
Diffstat (limited to 'src/Bindings/AllToLua.pkg')
-rw-r--r--src/Bindings/AllToLua.pkg7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Bindings/AllToLua.pkg b/src/Bindings/AllToLua.pkg
index 4fd5a68b8..6537437cd 100644
--- a/src/Bindings/AllToLua.pkg
+++ b/src/Bindings/AllToLua.pkg
@@ -87,3 +87,10 @@ class cLineBlockTracer;
+
+// To avoid tolua treating Byte as a class, and avoid the need to $cfile entire Globals.h:
+typedef unsigned char Byte;
+
+
+
+