diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-19 15:03:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-19 15:03:04 -0300 |
commit | 88f020b626d1b5b10b5d12e04bf103409a5e4308 (patch) | |
tree | e8d65e90ce914acebbd74c528b660db21ef27084 /lua.h | |
parent | a38f093f0540bce0207bb2dc27f1779f41c6d48b (diff) | |
download | lua-88f020b626d1b5b10b5d12e04bf103409a5e4308.tar.gz lua-88f020b626d1b5b10b5d12e04bf103409a5e4308.tar.bz2 lua-88f020b626d1b5b10b5d12e04bf103409a5e4308.zip |
new interface to "lua_seterrormethod" and "lua_settagmethod", to
allow the use of Lua functions too.
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 6 |
1 files changed, 3 insertions, 3 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.8 1997/06/16 19:48:18 roberto Exp roberto $ | 5 | ** $Id: lua.h,v 4.9 1997/06/18 21:20:45 roberto Exp roberto $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | 8 | ||
@@ -21,9 +21,9 @@ | |||
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 | lua_Object lua_settagmethod (int tag, char *event, lua_CFunction method); | 24 | lua_Object lua_settagmethod (int tag, char *event); /* In: new method */ |
25 | lua_Object lua_gettagmethod (int tag, char *event); | 25 | lua_Object lua_gettagmethod (int tag, char *event); |
26 | lua_Object lua_seterrormethod (lua_CFunction method); | 26 | lua_Object lua_seterrormethod (void); /* In: new method */ |
27 | 27 | ||
28 | int lua_newtag (void); | 28 | int lua_newtag (void); |
29 | void lua_settag (int tag); /* In: object */ | 29 | void lua_settag (int tag); /* In: object */ |