summaryrefslogtreecommitdiff
path: root/include/cdlua.h
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-11 17:28:54 +0000
committerscuri <scuri>2010-06-11 17:28:54 +0000
commit78c33311d99b1c9b854669d9b634d602692a304b (patch)
treeeabf71d8f88656e6ae18aa1c3e63a52bc1827bd9 /include/cdlua.h
parent2fb345fc972465ade03cc1d527ad3c8db3438ac5 (diff)
*** empty log message ***
Diffstat (limited to 'include/cdlua.h')
-rw-r--r--include/cdlua.h5
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