diff options
Diffstat (limited to 'opcode.c')
| -rw-r--r-- | opcode.c | 9 |
1 files changed, 8 insertions, 1 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_opcode="$Id: opcode.c,v 3.7 1994/11/09 18:13:29 roberto Exp roberto $"; | 6 | char *rcs_opcode="$Id: opcode.c,v 3.8 1994/11/10 17:11:52 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <stdio.h> | 8 | #include <stdio.h> |
| 9 | #include <stdlib.h> | 9 | #include <stdlib.h> |
| @@ -633,6 +633,13 @@ int lua_type (lua_Object o) | |||
| 633 | } | 633 | } |
| 634 | 634 | ||
| 635 | 635 | ||
| 636 | void luaI_gcFB (Object *o) | ||
| 637 | { | ||
| 638 | *(top++) = *o; | ||
| 639 | do_call(&luaI_fallBacks[FB_GC].function, (top-stack)-1, 0, (top-stack)-1); | ||
| 640 | } | ||
| 641 | |||
| 642 | |||
| 636 | static void call_arith (char *op) | 643 | static void call_arith (char *op) |
| 637 | { | 644 | { |
| 638 | lua_pushstring(op); | 645 | lua_pushstring(op); |
