diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2013-02-13 20:30:04 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2013-02-13 20:30:26 +0100 |
commit | 577bca074df12c520f49e9361381f0cad78200c1 (patch) | |
tree | 188a4d1e3366a9351ea5b9689efbaf3f98996100 /src/tools.h | |
parent | 131c11c2ae327de5b4db743a6a81eb9b57470d0e (diff) | |
download | lanes-3.5.1.tar.gz lanes-3.5.1.tar.bz2 lanes-3.5.1.zip |
version 3.5.1v3.5.1
* new lanes.h header and API call luaopen_lanes_embedded() for embedders
* "lanes.core" is an acceptable library in the generator libs argument
* library "*" wildcard also opens lanes.core
* tweaked code for Xbox 360 build
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h index a06e23f..10711d4 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -27,6 +27,7 @@ | |||
27 | #define luaG_registerlibfuncs( L, _funcs) luaL_register( L, NULL, _funcs) | 27 | #define luaG_registerlibfuncs( L, _funcs) luaL_register( L, NULL, _funcs) |
28 | #define LUA_OK 0 | 28 | #define LUA_OK 0 |
29 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.1, we don't care about the actual value | 29 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.1, we don't care about the actual value |
30 | void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int glb); // implementation copied from Lua 5.2 sources | ||
30 | #endif // LUA_VERSION_NUM == 501 | 31 | #endif // LUA_VERSION_NUM == 501 |
31 | 32 | ||
32 | // wrap Lua 5.2 calls under Lua 5.1 API when it is simpler that way | 33 | // wrap Lua 5.2 calls under Lua 5.1 API when it is simpler that way |