diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-12 15:27:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-12 15:27:29 -0300 |
commit | 611680af08b6102bd260068d9c9ad6961029bd5d (patch) | |
tree | 2ba7bbe708f5bcb7250afff601578392ac00da86 /lua.h | |
parent | cb1d8f0fa014b0f94e09500d71aaff98fa197d19 (diff) | |
download | lua-611680af08b6102bd260068d9c9ad6961029bd5d.tar.gz lua-611680af08b6102bd260068d9c9ad6961029bd5d.tar.bz2 lua-611680af08b6102bd260068d9c9ad6961029bd5d.zip |
functions "lua_settagmethod" and similars should be safe too.
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -2,7 +2,7 @@ | |||
2 | ** LUA - An Extensible Extension Language | 2 | ** LUA - An Extensible Extension Language |
3 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 3 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
4 | ** e-mail: lua@tecgraf.puc-rio.br | 4 | ** e-mail: lua@tecgraf.puc-rio.br |
5 | ** $Id: lua.h,v 4.5 1997/06/06 20:54:40 roberto Exp roberto $ | 5 | ** $Id: lua.h,v 4.6 1997/06/09 17:28:14 roberto Exp roberto $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | 8 | ||
@@ -21,8 +21,8 @@ | |||
21 | typedef void (*lua_CFunction) (void); | 21 | typedef void (*lua_CFunction) (void); |
22 | typedef unsigned int lua_Object; | 22 | typedef unsigned int lua_Object; |
23 | 23 | ||
24 | void lua_settagmethod (int tag, char *event, lua_CFunction method); | 24 | lua_Object lua_settagmethod (int tag, char *event, lua_CFunction method); |
25 | void lua_gettagmethod (int tag, char *event); /* out: method */ | 25 | lua_Object lua_gettagmethod (int tag, char *event); |
26 | void lua_seterrormethod (lua_CFunction method); | 26 | void lua_seterrormethod (lua_CFunction method); |
27 | 27 | ||
28 | int lua_newtag (void); | 28 | int lua_newtag (void); |
@@ -81,9 +81,6 @@ void lua_unref (int ref); | |||
81 | 81 | ||
82 | lua_Object lua_createtable (void); | 82 | lua_Object lua_createtable (void); |
83 | 83 | ||
84 | lua_Object lua_getudata (void *u, int tag); | ||
85 | |||
86 | |||
87 | long lua_collectgarbage (long limit); | 84 | long lua_collectgarbage (long limit); |
88 | 85 | ||
89 | 86 | ||