mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
some compatibility macros
This commit is contained in:
parent
cfaa8fbf1d
commit
34df9976a9
2 changed files with 11 additions and 0 deletions
|
|
@ -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
2
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue