commit 28b3017baff1778bd31c3e4d45b8ac676035d1a9
parent ae808860ae57ac5287e6950895cf45378cc90235
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 9 Oct 1995 10:06:01 -0300
lua function "type" now returns the string "function" both for lua
functions and c functions.
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/inout.c b/inout.c
@@ -5,7 +5,7 @@
** Also provides some predefined lua functions.
*/
-char *rcs_inout="$Id: inout.c,v 2.20 1995/05/16 17:23:58 roberto Exp $";
+char *rcs_inout="$Id: inout.c,v 2.21 1995/10/04 14:20:26 roberto Exp roberto $";
#include <stdio.h>
#include <stdlib.h>
@@ -258,10 +258,8 @@ void luaI_type (void)
lua_pushliteral("table");
break;
case LUA_T_FUNCTION :
- lua_pushliteral("function");
- break;
case LUA_T_CFUNCTION :
- lua_pushliteral("cfunction");
+ lua_pushliteral("function");
break;
default :
lua_pushliteral("userdata");