Lua 5.1.4: ldebug.h


L0001    /*
L0002    ** $Id: ldebug.h,v 2.3.1.1 2007/12/27 13:02:25 roberto Exp $
L0003    ** Auxiliary functions from Debug Interface module
L0004    ** See Copyright Notice in lua.h
L0005    */
L0006    
L0007    #ifndef ldebug_h
L0008    #define ldebug_h
L0009    
L0010    
L0011    #include "lstate.h"
L0012    
L0013    
L0014    #define pcRel(pc, p)	(cast(int, (pc) - (p)->code) - 1)
L0015    
L0016    #define getline(f,pc)	(((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
L0017    
L0018    #define resethookcount(L)	(L->hookcount = L->basehookcount)
L0019    
L0020    
L0021    LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o,
L0022                                                 const char *opname);
L0023    LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
L0024    LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1,
L0025                                                  const TValue *p2);
L0026    LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1,
L0027                                                 const TValue *p2);
L0028    LUAI_FUNC void luaG_runerror (lua_State *L, const char *fmt, ...);
L0029    LUAI_FUNC void luaG_errormsg (lua_State *L);
L0030    LUAI_FUNC int luaG_checkcode (const Proto *pt);
L0031    LUAI_FUNC int luaG_checkopenop (Instruction i);
L0032    
L0033    #endif

Generated by pretty.lua