commit 34df9976a9fe9a94a4ee96d7ff0ebceac025172d parent cfaa8fbf1dee6757af90f0612eb9f96a64e6a61e Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Thu, 3 Jan 2002 15:28:36 -0200 some compatibility macros Diffstat:
M | lauxlib.h | | | 9 | +++++++++ |
M | lua.h | | | 2 | ++ |
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/lauxlib.h b/lauxlib.h @@ -102,6 +102,15 @@ LUALIB_API void luaL_pushresult (luaL_Buffer *B); /* }====================================================== */ + +/* +** Compatibility macros +*/ + +#define luaL_checktype luaL_check_type +#define luaL_checkany luaL_check_any + + #endif diff --git a/lua.h b/lua.h @@ -244,6 +244,8 @@ LUA_API int lua_getweakmode (lua_State *L, int index); LUA_API void lua_pushupvalues (lua_State *L); +#define lua_isnull lua_isnone + /* compatibility with ref system */