Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ceguilua/src/lua-5.0.3/lua/ldebug.h @ 1803

Last change on this file since 1803 was 1803, checked in by rgrieder, 16 years ago

added files for lua 5.1.3, lua 5.0.3, CEGUILua-0.6.1 and CEGUILua-0.5.0b

  • Property svn:eol-style set to native
File size: 846 bytes
Line 
1/*
2** $Id: ldebug.h,v 1.32 2002/11/18 11:01:55 roberto Exp $
3** Auxiliary functions from Debug Interface module
4** See Copyright Notice in lua.h
5*/
6
7#ifndef ldebug_h
8#define ldebug_h
9
10
11#include "lstate.h"
12
13
14#define pcRel(pc, p)    (cast(int, (pc) - (p)->code) - 1)
15
16#define getline(f,pc)   (((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
17
18#define resethookcount(L)       (L->hookcount = L->basehookcount)
19
20
21void luaG_inithooks (lua_State *L);
22void luaG_typeerror (lua_State *L, const TObject *o, const char *opname);
23void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
24void luaG_aritherror (lua_State *L, const TObject *p1, const TObject *p2);
25int luaG_ordererror (lua_State *L, const TObject *p1, const TObject *p2);
26void luaG_runerror (lua_State *L, const char *fmt, ...);
27void luaG_errormsg (lua_State *L);
28int luaG_checkcode (const Proto *pt);
29
30
31#endif
Note: See TracBrowser for help on using the repository browser.