From f96801290ed658997d8388e825a52e9cb195045b Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 24 Feb 2014 22:52:55 +0100 Subject: Fixed tolua export for Byte. No longer treated as an unknown class. --- src/Bindings/AllToLua.pkg | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Bindings/AllToLua.pkg') 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; + + + + -- cgit v1.2.3