rename of lua_isnull to lua_isnone

This commit is contained in:
Roberto Ierusalimschy 2001-12-20 19:27:12 -02:00
parent 42754c0f15
commit 09e15692f3
5 changed files with 16 additions and 16 deletions

2
lua.h
View file

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