diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-07 15:39:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-07 15:39:16 -0300 |
| commit | 397905ef8694ec716a51acebc993bb625340d388 (patch) | |
| tree | cbf37aa8278b53161f99f28a027ac703c227ec27 /ldo.h | |
| parent | 435f587ed05e2c4d542e1db9ae9e4efbb7e02305 (diff) | |
| download | lua-397905ef8694ec716a51acebc993bb625340d388.tar.gz lua-397905ef8694ec716a51acebc993bb625340d388.tar.bz2 lua-397905ef8694ec716a51acebc993bb625340d388.zip | |
(much) better handling of memory alloction errors
Diffstat (limited to 'ldo.h')
| -rw-r--r-- | ldo.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.h,v 1.20 2000/04/14 18:12:35 roberto Exp $ | 2 | ** $Id: ldo.h,v 1.21 2000/06/28 20:21:06 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -25,6 +25,7 @@ void luaD_openstack (lua_State *L, StkId pos); | |||
| 25 | void luaD_lineHook (lua_State *L, StkId func, int line, lua_Hook linehook); | 25 | void luaD_lineHook (lua_State *L, StkId func, int line, lua_Hook linehook); |
| 26 | void luaD_call (lua_State *L, StkId func, int nResults); | 26 | void luaD_call (lua_State *L, StkId func, int nResults); |
| 27 | void luaD_callTM (lua_State *L, const TObject *f, int nParams, int nResults); | 27 | void luaD_callTM (lua_State *L, const TObject *f, int nParams, int nResults); |
| 28 | void luaD_breakrun (lua_State *L, int errcode); | ||
| 28 | int luaD_protectedrun (lua_State *L); | 29 | int luaD_protectedrun (lua_State *L); |
| 29 | void luaD_checkstack (lua_State *L, int n); | 30 | void luaD_checkstack (lua_State *L, int n); |
| 30 | 31 | ||
