new function "getintmethod"

This commit is contained in:
Roberto Ierusalimschy
1997-04-02 20:04:12 -03:00
parent 7c99149a76
commit 075b7918c3
6 changed files with 30 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
** Also provides some predefined lua functions.
*/
char *rcs_inout="$Id: inout.c,v 2.52 1997/04/01 19:02:43 roberto Exp roberto $";
char *rcs_inout="$Id: inout.c,v 2.53 1997/04/02 22:53:35 roberto Exp roberto $";
#include <stdio.h>
#include <string.h>
@@ -342,6 +342,7 @@ static struct {
{"setfallback", luaI_setfallback},
{"setglobal", luaI_setglobal},
{"setintmethod", luaI_setintmethod},
{"getintmethod", luaI_getintmethod},
{"settag", luaIl_settag},
{"tonumber", lua_obj2number},
{"tostring", luaI_tostring},