diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-03-03 13:34:46 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-03-03 13:34:46 -0300 |
commit | d806710ab5622487159f2a8aecf72003d831542b (patch) | |
tree | 0a2c49e7ee732f17002ed086420f51ca7f42b221 /lauxlib.h | |
parent | e049abb69a45e06ca5769a3956a0ba36a959d29e (diff) | |
download | lua-d806710ab5622487159f2a8aecf72003d831542b.tar.gz lua-d806710ab5622487159f2a8aecf72003d831542b.tar.bz2 lua-d806710ab5622487159f2a8aecf72003d831542b.zip |
returns for file-related functions and process-related functions
unified in 'auxlib'
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.113 2010/11/16 19:20:01 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.114 2011/01/10 15:51:42 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -62,6 +62,9 @@ LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); | |||
62 | LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def, | 62 | LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def, |
63 | const char *const lst[]); | 63 | const char *const lst[]); |
64 | 64 | ||
65 | LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname); | ||
66 | LUALIB_API int (luaL_execresult) (lua_State *L, int stat); | ||
67 | |||
65 | /* pre-defined references */ | 68 | /* pre-defined references */ |
66 | #define LUA_NOREF (-2) | 69 | #define LUA_NOREF (-2) |
67 | #define LUA_REFNIL (-1) | 70 | #define LUA_REFNIL (-1) |