'getline' renamed to 'getfuncline' (to avoid problems with POSIX)

This commit is contained in:
Roberto Ierusalimschy
2009-06-10 13:57:53 -03:00
parent 2598138ece
commit 2258ec6bc9
4 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.c,v 2.50 2009/05/04 18:26:21 roberto Exp roberto $
** $Id: ldebug.c,v 2.51 2009/06/01 19:09:26 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -44,7 +44,7 @@ static int currentline (CallInfo *ci) {
if (pc < 0)
return -1; /* only active lua functions have current-line information */
else
return getline(ci_func(ci)->l.p, pc);
return getfuncline(ci_func(ci)->l.p, pc);
}