summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-19 15:03:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-19 15:03:04 -0300
commit88f020b626d1b5b10b5d12e04bf103409a5e4308 (patch)
treee8d65e90ce914acebbd74c528b660db21ef27084 /lua.h
parenta38f093f0540bce0207bb2dc27f1779f41c6d48b (diff)
downloadlua-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 9b1e8dce..cc5ed897 100644
--- a/lua.h
+++ b/lua.h
@@ -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 @@
21typedef void (*lua_CFunction) (void); 21typedef void (*lua_CFunction) (void);
22typedef unsigned int lua_Object; 22typedef unsigned int lua_Object;
23 23
24lua_Object lua_settagmethod (int tag, char *event, lua_CFunction method); 24lua_Object lua_settagmethod (int tag, char *event); /* In: new method */
25lua_Object lua_gettagmethod (int tag, char *event); 25lua_Object lua_gettagmethod (int tag, char *event);
26lua_Object lua_seterrormethod (lua_CFunction method); 26lua_Object lua_seterrormethod (void); /* In: new method */
27 27
28int lua_newtag (void); 28int lua_newtag (void);
29void lua_settag (int tag); /* In: object */ 29void lua_settag (int tag); /* In: object */