(much) better handling of memory alloction errors

This commit is contained in:
Roberto Ierusalimschy
2000-08-07 15:39:16 -03:00
parent 435f587ed0
commit 397905ef86
4 changed files with 21 additions and 11 deletions

3
ldo.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: ldo.h,v 1.20 2000/04/14 18:12:35 roberto Exp $
** $Id: ldo.h,v 1.21 2000/06/28 20:21:06 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -25,6 +25,7 @@ void luaD_openstack (lua_State *L, StkId pos);
void luaD_lineHook (lua_State *L, StkId func, int line, lua_Hook linehook);
void luaD_call (lua_State *L, StkId func, int nResults);
void luaD_callTM (lua_State *L, const TObject *f, int nParams, int nResults);
void luaD_breakrun (lua_State *L, int errcode);
int luaD_protectedrun (lua_State *L);
void luaD_checkstack (lua_State *L, int n);