From 94c3a40403f8aaaac8432a31bde6b2a9387d932f Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 11 Jun 2010 17:42:45 +0000 Subject: *** empty log message *** --- include/cdlua.h | 4 ---- include/cdlua5_private.h | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include') 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 } -- cgit v1.2.3