mirror of
https://github.com/lua/lua.git
synced 2025-07-18 21:30:05 +00:00
rename of lua_isnull to lua_isnone
This commit is contained in:
parent
42754c0f15
commit
09e15692f3
5 changed files with 16 additions and 16 deletions
2
lua.h
2
lua.h
|
@ -227,7 +227,7 @@ LUA_API int lua_getweakmode (lua_State *L, int index);
|
|||
#define lua_isuserdata(L,n) (lua_type(L,n) == LUA_TUSERDATA)
|
||||
#define lua_isnil(L,n) (lua_type(L,n) == LUA_TNIL)
|
||||
#define lua_isboolean(L,n) (lua_type(L,n) == LUA_TBOOLEAN)
|
||||
#define lua_isnull(L,n) (lua_type(L,n) == LUA_TNONE)
|
||||
#define lua_isnone(L,n) (lua_type(L,n) == LUA_TNONE)
|
||||
|
||||
#define lua_pushliteral(L, s) lua_pushlstring(L, "" s, \
|
||||
(sizeof(s)/sizeof(char))-1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue