diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-10 13:57:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-10 13:57:53 -0300 |
commit | 2258ec6bc94bc127024a49e29a0b40f58a5ae0a3 (patch) | |
tree | b748fbe9028183c4aa4727a24cf3a50382819b6b /ldebug.h | |
parent | 2598138eced28b6ff8d4db9550a4e70c26cd4baa (diff) | |
download | lua-2258ec6bc94bc127024a49e29a0b40f58a5ae0a3.tar.gz lua-2258ec6bc94bc127024a49e29a0b40f58a5ae0a3.tar.bz2 lua-2258ec6bc94bc127024a49e29a0b40f58a5ae0a3.zip |
'getline' renamed to 'getfuncline' (to avoid problems with POSIX)
Diffstat (limited to 'ldebug.h')
-rw-r--r-- | ldebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.h,v 2.3 2005/04/25 19:24:10 roberto Exp roberto $ | 2 | ** $Id: ldebug.h,v 2.4 2009/04/30 17:42:21 roberto Exp roberto $ |
3 | ** Auxiliary functions from Debug Interface module | 3 | ** Auxiliary functions from Debug Interface module |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) | 14 | #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) |
15 | 15 | ||
16 | #define getline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) | 16 | #define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0) |
17 | 17 | ||
18 | #define resethookcount(L) (L->hookcount = L->basehookcount) | 18 | #define resethookcount(L) (L->hookcount = L->basehookcount) |
19 | 19 | ||