diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-20 19:27:12 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-20 19:27:12 -0200 |
| commit | 09e15692f3a237e2858cc67e2e7f07c3e4c983e7 (patch) | |
| tree | 66a823c1419dcf0faa1f63ec2fba17ff09acf5b4 /lua.h | |
| parent | 42754c0f15ded97342d3aa67f719e1962fab702a (diff) | |
| download | lua-09e15692f3a237e2858cc67e2e7f07c3e4c983e7.tar.gz lua-09e15692f3a237e2858cc67e2e7f07c3e4c983e7.tar.bz2 lua-09e15692f3a237e2858cc67e2e7f07c3e4c983e7.zip | |
rename of lua_isnull to lua_isnone
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -227,7 +227,7 @@ LUA_API int lua_getweakmode (lua_State *L, int index); | |||
| 227 | #define lua_isuserdata(L,n) (lua_type(L,n) == LUA_TUSERDATA) | 227 | #define lua_isuserdata(L,n) (lua_type(L,n) == LUA_TUSERDATA) |
| 228 | #define lua_isnil(L,n) (lua_type(L,n) == LUA_TNIL) | 228 | #define lua_isnil(L,n) (lua_type(L,n) == LUA_TNIL) |
| 229 | #define lua_isboolean(L,n) (lua_type(L,n) == LUA_TBOOLEAN) | 229 | #define lua_isboolean(L,n) (lua_type(L,n) == LUA_TBOOLEAN) |
| 230 | #define lua_isnull(L,n) (lua_type(L,n) == LUA_TNONE) | 230 | #define lua_isnone(L,n) (lua_type(L,n) == LUA_TNONE) |
| 231 | 231 | ||
| 232 | #define lua_pushliteral(L, s) lua_pushlstring(L, "" s, \ | 232 | #define lua_pushliteral(L, s) lua_pushlstring(L, "" s, \ |
| 233 | (sizeof(s)/sizeof(char))-1) | 233 | (sizeof(s)/sizeof(char))-1) |
