diff options
author | scuri <scuri> | 2010-06-11 17:28:54 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-11 17:28:54 +0000 |
commit | 78c33311d99b1c9b854669d9b634d602692a304b (patch) | |
tree | eabf71d8f88656e6ae18aa1c3e63a52bc1827bd9 /include | |
parent | 2fb345fc972465ade03cc1d527ad3c8db3438ac5 (diff) |
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r-- | include/cdlua.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cdlua.h b/include/cdlua.h index 30d8174..465d09c 100644 --- a/include/cdlua.h +++ b/include/cdlua.h @@ -29,6 +29,11 @@ int cdlua_close(lua_State *L); cdCanvas* cdlua_getcanvas(lua_State * L); /* pos=1, deprecated use cdlua_checkcanvas */ 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 |