erroneous objects may not live in the stack

This commit is contained in:
Roberto Ierusalimschy
2002-03-19 09:45:25 -03:00
parent 578d1da00d
commit 938092489b
4 changed files with 62 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ldebug.h,v 1.15 2001/06/28 19:58:57 roberto Exp $
** $Id: ldebug.h,v 1.16 2001/11/28 20:13:13 roberto Exp roberto $
** Auxiliary functions from Debug Interface module
** See Copyright Notice in lua.h
*/
@@ -12,9 +12,9 @@
#include "luadebug.h"
void luaG_typeerror (lua_State *L, StkId o, const char *op);
void luaG_typeerror (lua_State *L, const TObject *o, const char *opname);
void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
void luaG_aritherror (lua_State *L, StkId p1, TObject *p2);
void luaG_aritherror (lua_State *L, StkId p1, const TObject *p2);
int luaG_getline (int *lineinfo, int pc, int refline, int *refi);
void luaG_ordererror (lua_State *L, const TObject *p1, const TObject *p2);
int luaG_checkcode (const Proto *pt);