diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-06 15:00:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-06 15:00:19 -0300 |
commit | d5b83ead90fba27faa344c72406d85987d2460a4 (patch) | |
tree | 96d73c1b872b6b01a28c0586b871d37185034ba9 /lua.h | |
parent | da673d31aaa05e8dff60c0b601b9f15c4f9182a8 (diff) | |
download | lua-d5b83ead90fba27faa344c72406d85987d2460a4.tar.gz lua-d5b83ead90fba27faa344c72406d85987d2460a4.tar.bz2 lua-d5b83ead90fba27faa344c72406d85987d2460a4.zip |
new implementation for userdatas, without `keys'
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.96 2001/04/17 17:35:54 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.97 2001/04/23 16:35:45 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
5 | ** e-mail: info@lua.org | 5 | ** e-mail: info@lua.org |
@@ -150,7 +150,6 @@ LUA_API void lua_pushnumber (lua_State *L, lua_Number n); | |||
150 | LUA_API void lua_pushlstring (lua_State *L, const lua_char *s, size_t len); | 150 | LUA_API void lua_pushlstring (lua_State *L, const lua_char *s, size_t len); |
151 | LUA_API void lua_pushstring (lua_State *L, const lua_char *s); | 151 | LUA_API void lua_pushstring (lua_State *L, const lua_char *s); |
152 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); | 152 | LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); |
153 | LUA_API int lua_pushuserdata (lua_State *L, void *u); | ||
154 | 153 | ||
155 | 154 | ||
156 | /* | 155 | /* |
@@ -218,6 +217,7 @@ LUA_API int lua_getn (lua_State *L, int index); | |||
218 | LUA_API void lua_concat (lua_State *L, int n); | 217 | LUA_API void lua_concat (lua_State *L, int n); |
219 | 218 | ||
220 | LUA_API void *lua_newuserdata (lua_State *L, size_t size); | 219 | LUA_API void *lua_newuserdata (lua_State *L, size_t size); |
220 | LUA_API void lua_newuserdatabox (lua_State *L, void *u); | ||
221 | 221 | ||
222 | LUA_API void lua_setweakmode (lua_State *L, int mode); | 222 | LUA_API void lua_setweakmode (lua_State *L, int mode); |
223 | LUA_API int lua_getweakmode (lua_State *L, int index); | 223 | LUA_API int lua_getweakmode (lua_State *L, int index); |