aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-05-14 09:24:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-05-14 09:24:20 -0300
commit34695d4f4a838ccc38636077bb4bf504889c8f71 (patch)
treecd75706ad1ec1b1935d3b79e24af19df3819e755
parent924bbe020bfb79a42a4756e36847dab7880d36b4 (diff)
downloadlua-34695d4f4a838ccc38636077bb4bf504889c8f71.tar.gz
lua-34695d4f4a838ccc38636077bb4bf504889c8f71.tar.bz2
lua-34695d4f4a838ccc38636077bb4bf504889c8f71.zip
details (message text)
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 45fa7f27..45d961d2 100644
--- a/lapi.c
+++ b/lapi.c
@@ -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
591void lua_funcinfo (lua_Object func, char **source, int *linedefined) { 591void 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) {