aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fallback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fallback.c b/fallback.c
index a85de236..6337a1b0 100644
--- a/fallback.c
+++ b/fallback.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_fallback="$Id: fallback.c,v 1.37 1997/04/02 22:52:42 roberto Exp roberto $"; 6char *rcs_fallback="$Id: fallback.c,v 1.38 1997/04/02 23:04:12 roberto Exp roberto $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h> 9#include <string.h>
@@ -243,6 +243,7 @@ void luaI_setintmethod (void)
243 lua_error("cannot change this internal method"); 243 lua_error("cannot change this internal method");
244 luaL_arg_check(lua_isnil(func) || lua_isfunction(func), "setintmethod", 244 luaL_arg_check(lua_isnil(func) || lua_isfunction(func), "setintmethod",
245 3, "function expected"); 245 3, "function expected");
246 luaI_pushobject(&luaI_IMtable[-t].int_method[e]);
246 luaI_IMtable[-t].int_method[e] = *luaI_Address(func); 247 luaI_IMtable[-t].int_method[e] = *luaI_Address(func);
247} 248}
248 249