OOLua  2.0.1
C++ and Lua binding
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lua_includes.h File Reference

Prevents name mangling and provides a potential location to enable compatibility when new Lua versions are released. More...

#include "lua/lua.h"
#include "lua/lauxlib.h"
#include "lua/lualib.h"

Detailed Description

Prevents name mangling and provides a potential location to enable compatibility when new Lua versions are released.

No part of OOLua directly includes any Lua header files, instead when required they include this header. Contrary to what some people may think, this is by design. There is no way to know if a user's version of the Lua library was compiled as C++ or C.