mirror of https://github.com/rusefi/lua.git
new API for error handling
This commit is contained in:
parent
0417a4bb0b
commit
4a4f243795
6
lua.h
6
lua.h
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lua.h,v 1.146 2002/07/09 14:58:28 roberto Exp roberto $
|
** $Id: lua.h,v 1.147 2002/07/17 16:25:13 roberto Exp roberto $
|
||||||
** Lua - An Extensible Extension Language
|
** Lua - An Extensible Extension Language
|
||||||
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
||||||
** http://www.lua.org mailto:info@lua.org
|
** http://www.lua.org mailto:info@lua.org
|
||||||
|
@ -29,9 +29,6 @@
|
||||||
#define LUA_MULTRET (-1)
|
#define LUA_MULTRET (-1)
|
||||||
|
|
||||||
|
|
||||||
/* index for a traceback function in the registry */
|
|
||||||
#define LUA_TRACEBACK "_TRACEBACK"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** pseudo-indices
|
** pseudo-indices
|
||||||
*/
|
*/
|
||||||
|
@ -189,6 +186,7 @@ LUA_API void lua_call (lua_State *L, int nargs, int nresults);
|
||||||
LUA_API int lua_pcall (lua_State *L, int nargs, int nresults);
|
LUA_API int lua_pcall (lua_State *L, int nargs, int nresults);
|
||||||
LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data,
|
LUA_API int lua_load (lua_State *L, lua_Chunkreader reader, void *data,
|
||||||
const char *chunkname);
|
const char *chunkname);
|
||||||
|
LUA_API void lua_pcallreset (lua_State *L);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue