diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-05-14 09:24:20 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-05-14 09:24:20 -0300 |
commit | 34695d4f4a838ccc38636077bb4bf504889c8f71 (patch) | |
tree | cd75706ad1ec1b1935d3b79e24af19df3819e755 | |
parent | 924bbe020bfb79a42a4756e36847dab7880d36b4 (diff) | |
download | lua-34695d4f4a838ccc38636077bb4bf504889c8f71.tar.gz lua-34695d4f4a838ccc38636077bb4bf504889c8f71.tar.bz2 lua-34695d4f4a838ccc38636077bb4bf504889c8f71.zip |
details (message text)
-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) { |