diff options
Diffstat (limited to 'opcode.c')
| -rw-r--r-- | opcode.c | 4 |
1 files changed, 2 insertions, 2 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.31 1994/12/30 17:45:11 roberto Exp celes $"; | 6 | char *rcs_opcode="$Id: opcode.c,v 3.32 1995/01/27 17:19:06 celes Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <setjmp.h> | 8 | #include <setjmp.h> |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| @@ -373,7 +373,7 @@ static int do_protectedmain (void) | |||
| 373 | */ | 373 | */ |
| 374 | int lua_callfunction (lua_Object function) | 374 | int lua_callfunction (lua_Object function) |
| 375 | { | 375 | { |
| 376 | if (function == NULL) | 376 | if (function == LUA_NOOBJECT) |
| 377 | return 1; | 377 | return 1; |
| 378 | else | 378 | else |
| 379 | return do_protectedrun (Address(function), MULT_RET); | 379 | return do_protectedrun (Address(function), MULT_RET); |
