From 88f020b626d1b5b10b5d12e04bf103409a5e4308 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 19 Jun 1997 15:03:04 -0300 Subject: new interface to "lua_seterrormethod" and "lua_settagmethod", to allow the use of Lua functions too. --- lua.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 9b1e8dce..cc5ed897 100644 --- a/lua.h +++ b/lua.h @@ -2,7 +2,7 @@ ** LUA - An Extensible Extension Language ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil ** e-mail: lua@tecgraf.puc-rio.br -** $Id: lua.h,v 4.8 1997/06/16 19:48:18 roberto Exp roberto $ +** $Id: lua.h,v 4.9 1997/06/18 21:20:45 roberto Exp roberto $ */ @@ -21,9 +21,9 @@ typedef void (*lua_CFunction) (void); typedef unsigned int lua_Object; -lua_Object lua_settagmethod (int tag, char *event, lua_CFunction method); +lua_Object lua_settagmethod (int tag, char *event); /* In: new method */ lua_Object lua_gettagmethod (int tag, char *event); -lua_Object lua_seterrormethod (lua_CFunction method); +lua_Object lua_seterrormethod (void); /* In: new method */ int lua_newtag (void); void lua_settag (int tag); /* In: object */ -- cgit v1.2.3-55-g6feb