lua/ldebug.h

Go to the documentation of this file.
00001 /*
00002 ** $Id: ldebug.h,v 1.2 2004/03/23 05:09:14 jbj Exp $
00003 ** Auxiliary functions from Debug Interface module
00004 ** See Copyright Notice in lua.h
00005 */
00006 
00007 #ifndef ldebug_h
00008 #define ldebug_h
00009 
00010 
00011 #include "lstate.h"
00012 
00013 
00014 #define pcRel(pc, p)    (cast(int, (pc) - (p)->code) - 1)
00015 
00016 #define getline(f,pc)   (((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
00017 
00018 #define resethookcount(L)       (L->hookcount = L->basehookcount)
00019 
00020 
00021 void luaG_inithooks (lua_State *L)
00022         /*@modifies L @*/;
00023 void luaG_typeerror (lua_State *L, const TObject *o, const char *opname)
00024         /*@modifies L @*/;
00025 void luaG_concaterror (lua_State *L, StkId p1, StkId p2)
00026         /*@modifies L @*/;
00027 void luaG_aritherror (lua_State *L, const TObject *p1, const TObject *p2)
00028         /*@modifies L @*/;
00029 int luaG_ordererror (lua_State *L, const TObject *p1, const TObject *p2)
00030         /*@modifies L @*/;
00031 void luaG_runerror (lua_State *L, const char *fmt, ...)
00032         /*@modifies L @*/;
00033 void luaG_errormsg (lua_State *L)
00034         /*@modifies L @*/;
00035 int luaG_checkcode (const Proto *pt)
00036         /*@*/;
00037 
00038 
00039 #endif

Generated on Fri Oct 12 08:44:54 2007 for rpm by  doxygen 1.5.2