From dd28b830e9a4104fe78094fc6baf15cf601c1b6b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 2 Feb 1995 18:05:37 -0200 Subject: a null lua_Object is LUA_NOOBJECT, not NULL. --- opcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcode.c') diff --git a/opcode.c b/opcode.c index 4f488bb0..39cc3651 100644 --- a/opcode.c +++ b/opcode.c @@ -3,7 +3,7 @@ ** TecCGraf - PUC-Rio */ -char *rcs_opcode="$Id: opcode.c,v 3.31 1994/12/30 17:45:11 roberto Exp celes $"; +char *rcs_opcode="$Id: opcode.c,v 3.32 1995/01/27 17:19:06 celes Exp roberto $"; #include #include @@ -373,7 +373,7 @@ static int do_protectedmain (void) */ int lua_callfunction (lua_Object function) { - if (function == NULL) + if (function == LUA_NOOBJECT) return 1; else return do_protectedrun (Address(function), MULT_RET); -- cgit v1.2.3-55-g6feb