From 34df9976a9fe9a94a4ee96d7ff0ebceac025172d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 3 Jan 2002 15:28:58 -0200 Subject: some compatibility macros --- lauxlib.h | 9 +++++++++ lua.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/lauxlib.h b/lauxlib.h index fd9d1f53..92f8b5d6 100644 --- 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 index 1ddacf33..ed779771 100644 --- 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 */ -- cgit v1.2.3-55-g6feb