From 2258ec6bc94bc127024a49e29a0b40f58a5ae0a3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 10 Jun 2009 13:57:53 -0300 Subject: 'getline' renamed to 'getfuncline' (to avoid problems with POSIX) --- ldebug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.h') diff --git a/ldebug.h b/ldebug.h index 87b1f6a5..c37c9403 100644 --- a/ldebug.h +++ b/ldebug.h @@ -1,5 +1,5 @@ /* -** $Id: ldebug.h,v 2.3 2005/04/25 19:24:10 roberto Exp roberto $ +** $Id: ldebug.h,v 2.4 2009/04/30 17:42:21 roberto Exp roberto $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ @@ -13,7 +13,7 @@ #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) -#define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) +#define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) #define resethookcount(L) (L->hookcount = L->basehookcount) -- cgit v1.2.3-55-g6feb