diff options
author | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-12-16 15:54:31 +0100 |
---|---|---|
committer | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-12-16 15:54:31 +0100 |
commit | be58bb0bf683c5c15589ecf68367a1fbaa9e0a8f (patch) | |
tree | 42493e3ebe45433e86c85eb4109cc9dcaeede378 /src/tools.h | |
parent | 49fc4082730b4908df82dea5ba68f2a5fde72953 (diff) | |
download | lanes-be58bb0bf683c5c15589ecf68367a1fbaa9e0a8f.tar.gz lanes-be58bb0bf683c5c15589ecf68367a1fbaa9e0a8f.tar.bz2 lanes-be58bb0bf683c5c15589ecf68367a1fbaa9e0a8f.zip |
preliminary Lua 5.3 support
Untested, but it might just work :).
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.h b/src/tools.h index b868440..a4bcf43 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -132,7 +132,7 @@ extern void* const UNIVERSE_REGKEY; | |||
132 | #endif | 132 | #endif |
133 | #define ASSERT_L(c) _ASSERT_L(L,c) | 133 | #define ASSERT_L(c) _ASSERT_L(L,c) |
134 | 134 | ||
135 | #define STACK_GROW(L,n) do { if (!lua_checkstack(L,n)) luaL_error( L, "Cannot grow stack!" ); } while( 0) | 135 | #define STACK_GROW( L, n) do { if (!lua_checkstack(L,(int)(n))) luaL_error( L, "Cannot grow stack!" ); } while( 0) |
136 | 136 | ||
137 | #define LUAG_FUNC( func_name ) static int LG_##func_name( lua_State* L) | 137 | #define LUAG_FUNC( func_name ) static int LG_##func_name( lua_State* L) |
138 | 138 | ||