misc/liblua/ldebug.h
branchsdl2transition
changeset 11342 ed5a6478e710
parent 10017 de822cd3df3a
equal deleted inserted replaced
11340:31570b766315 11342:ed5a6478e710
     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);