Commits

Martin Felis committed 510b1f9

luamodel: luatables.h does not need to include lua.h anymore

Comments (0)

Files changed (1)

addons/luamodel/luatables.h

 #include <vector>
 #include <string>
 
-extern "C"
-{
-   #include <lua.h>
-   #include <lauxlib.h>
-   #include <lualib.h>
-}
+// forward declaration so we do not need to #include lua.h
+struct lua_State;
 
 bool ltOpenFile (lua_State **L, const char *filename);
 void ltClose (lua_State **L);