misc/liblua/ldebug.h
changeset 10017 de822cd3df3a
parent 2812 0a24853de796
equal deleted inserted replaced
10015:4feced261c68 10017:de822cd3df3a
     9 
     9 
    10 
    10 
    11 #include "lstate.h"
    11 #include "lstate.h"
    12 
    12 
    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 getline(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 
    20 
    20 
    21 LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o,
    21 LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o,
    22                                              const char *opname);
    22                                              const char *opname);
    23 LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
    23 LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2);