some compatibility macros

This commit is contained in:
Roberto Ierusalimschy 2002-01-03 15:28:58 -02:00
parent cfaa8fbf1d
commit 34df9976a9
2 changed files with 11 additions and 0 deletions

View File

@ -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

2
lua.h
View File

@ -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 */