diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-03 15:28:58 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-03 15:28:58 -0200 |
commit | 34df9976a9fe9a94a4ee96d7ff0ebceac025172d (patch) | |
tree | d9cd1e01e2b453bff0770c93dedd26bd4ee0237b | |
parent | cfaa8fbf1dee6757af90f0612eb9f96a64e6a61e (diff) | |
download | lua-34df9976a9fe9a94a4ee96d7ff0ebceac025172d.tar.gz lua-34df9976a9fe9a94a4ee96d7ff0ebceac025172d.tar.bz2 lua-34df9976a9fe9a94a4ee96d7ff0ebceac025172d.zip |
some compatibility macros
-rw-r--r-- | lauxlib.h | 9 | ||||
-rw-r--r-- | lua.h | 2 |
2 files changed, 11 insertions, 0 deletions
@@ -102,6 +102,15 @@ LUALIB_API void luaL_pushresult (luaL_Buffer *B); | |||
102 | /* }====================================================== */ | 102 | /* }====================================================== */ |
103 | 103 | ||
104 | 104 | ||
105 | |||
106 | /* | ||
107 | ** Compatibility macros | ||
108 | */ | ||
109 | |||
110 | #define luaL_checktype luaL_check_type | ||
111 | #define luaL_checkany luaL_check_any | ||
112 | |||
113 | |||
105 | #endif | 114 | #endif |
106 | 115 | ||
107 | 116 | ||
@@ -244,6 +244,8 @@ LUA_API int lua_getweakmode (lua_State *L, int index); | |||
244 | 244 | ||
245 | LUA_API void lua_pushupvalues (lua_State *L); | 245 | LUA_API void lua_pushupvalues (lua_State *L); |
246 | 246 | ||
247 | #define lua_isnull lua_isnone | ||
248 | |||
247 | 249 | ||
248 | /* compatibility with ref system */ | 250 | /* compatibility with ref system */ |
249 | 251 | ||