diff options
author | scuri <scuri> | 2010-06-11 17:42:45 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-11 17:42:45 +0000 |
commit | 94c3a40403f8aaaac8432a31bde6b2a9387d932f (patch) | |
tree | e7782b0261c73890e02f8d280a990633fbfa8bbe /include | |
parent | 78c33311d99b1c9b854669d9b634d602692a304b (diff) |
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r-- | include/cdlua.h | 4 | ||||
-rw-r--r-- | include/cdlua5_private.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/cdlua.h b/include/cdlua.h index 465d09c..a353dd8 100644 --- a/include/cdlua.h +++ b/include/cdlua.h @@ -30,10 +30,6 @@ cdCanvas* cdlua_getcanvas(lua_State * L); /* pos=1, deprecated use cdlua_checkca cdCanvas* cdlua_checkcanvas(lua_State * L, int pos); void cdlua_pushcanvas(lua_State * L, cdCanvas* canvas); -#if LUA_VERSION_NUM < 502 -#define luaL_typeerror luaL_typerror -#endif - #endif #ifdef __cplusplus diff --git a/include/cdlua5_private.h b/include/cdlua5_private.h index 974fb4e..3051fb6 100644 --- a/include/cdlua5_private.h +++ b/include/cdlua5_private.h @@ -133,6 +133,9 @@ void cdlua_pushbitmap(lua_State* L, cdBitmap* bitmap); void cdlua_pushimagergb_ex(lua_State* L, unsigned char* red, unsigned char* green, unsigned char* blue, int width, int height); void cdlua_pushimagergba_ex(lua_State* L, unsigned char* red, unsigned char* green, unsigned char* blue, unsigned char* alpha, int width, int height); +#if LUA_VERSION_NUM < 502 +#define luaL_typeerror luaL_typerror +#endif #ifdef __cplusplus } |