diff options
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.43 1999/05/11 14:19:32 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.44 1999/05/11 20:08:20 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -590,7 +590,7 @@ int lua_setlocal (lua_Function func, int local_number) | |||
590 | 590 | ||
591 | void lua_funcinfo (lua_Object func, char **source, int *linedefined) { | 591 | void lua_funcinfo (lua_Object func, char **source, int *linedefined) { |
592 | if (!lua_isfunction(func)) | 592 | if (!lua_isfunction(func)) |
593 | lua_error("API - `funcinfo' called with a non-function value"); | 593 | lua_error("API error - `funcinfo' called with a non-function value"); |
594 | else { | 594 | else { |
595 | TObject *f = luaA_protovalue(Address(func)); | 595 | TObject *f = luaA_protovalue(Address(func)); |
596 | if (normalized_type(f) == LUA_T_PROTO) { | 596 | if (normalized_type(f) == LUA_T_PROTO) { |