aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-06 15:00:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-06-06 15:00:19 -0300
commitd5b83ead90fba27faa344c72406d85987d2460a4 (patch)
tree96d73c1b872b6b01a28c0586b871d37185034ba9 /lua.h
parentda673d31aaa05e8dff60c0b601b9f15c4f9182a8 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.h b/lua.h
index 6e1254ba..d391ccb0 100644
--- a/lua.h
+++ b/lua.h
@@ -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);
150LUA_API void lua_pushlstring (lua_State *L, const lua_char *s, size_t len); 150LUA_API void lua_pushlstring (lua_State *L, const lua_char *s, size_t len);
151LUA_API void lua_pushstring (lua_State *L, const lua_char *s); 151LUA_API void lua_pushstring (lua_State *L, const lua_char *s);
152LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n); 152LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n);
153LUA_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);
218LUA_API void lua_concat (lua_State *L, int n); 217LUA_API void lua_concat (lua_State *L, int n);
219 218
220LUA_API void *lua_newuserdata (lua_State *L, size_t size); 219LUA_API void *lua_newuserdata (lua_State *L, size_t size);
220LUA_API void lua_newuserdatabox (lua_State *L, void *u);
221 221
222LUA_API void lua_setweakmode (lua_State *L, int mode); 222LUA_API void lua_setweakmode (lua_State *L, int mode);
223LUA_API int lua_getweakmode (lua_State *L, int index); 223LUA_API int lua_getweakmode (lua_State *L, int index);