mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
returns for file-related functions and process-related functions
unified in 'auxlib'
This commit is contained in:
parent
e049abb69a
commit
d806710ab5
4 changed files with 85 additions and 82 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lauxlib.h,v 1.113 2010/11/16 19:20:01 roberto Exp roberto $
|
||||
** $Id: lauxlib.h,v 1.114 2011/01/10 15:51:42 roberto Exp roberto $
|
||||
** Auxiliary functions for building Lua libraries
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -62,6 +62,9 @@ LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...);
|
|||
LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def,
|
||||
const char *const lst[]);
|
||||
|
||||
LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname);
|
||||
LUALIB_API int (luaL_execresult) (lua_State *L, int stat);
|
||||
|
||||
/* pre-defined references */
|
||||
#define LUA_NOREF (-2)
|
||||
#define LUA_REFNIL (-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue