diff options
author | Mike Pall <mike> | 2012-09-24 19:00:54 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-09-24 19:00:54 +0200 |
commit | cfca926cc2e2b63e94492f0a1f5c033f6db3a6f5 (patch) | |
tree | 4601d6b067fcea09b9e1368b998baa1b48de4866 /src/lauxlib.h | |
parent | 125cc879884b19ffa9181b7a52d1b7b73759301e (diff) | |
download | luajit-cfca926cc2e2b63e94492f0a1f5c033f6db3a6f5.tar.gz luajit-cfca926cc2e2b63e94492f0a1f5c033f6db3a6f5.tar.bz2 luajit-cfca926cc2e2b63e94492f0a1f5c033f6db3a6f5.zip |
From Lua 5.2: Extended results from os.execute() and pipe:close().
Needs -DLUAJIT_ENABLE_LUA52COMPAT.
Diffstat (limited to 'src/lauxlib.h')
-rw-r--r-- | src/lauxlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lauxlib.h b/src/lauxlib.h index 80585f64..b0f66d68 100644 --- a/src/lauxlib.h +++ b/src/lauxlib.h | |||
@@ -76,6 +76,8 @@ LUALIB_API const char *(luaL_findtable) (lua_State *L, int idx, | |||
76 | const char *fname, int szhint); | 76 | const char *fname, int szhint); |
77 | 77 | ||
78 | /* From Lua 5.2. */ | 78 | /* From Lua 5.2. */ |
79 | LUALIB_API int luaL_fileresult(lua_State *L, int stat, const char *fname); | ||
80 | LUALIB_API int luaL_execresult(lua_State *L, int stat); | ||
79 | LUALIB_API int (luaL_loadfilex) (lua_State *L, const char *filename, | 81 | LUALIB_API int (luaL_loadfilex) (lua_State *L, const char *filename, |
80 | const char *mode); | 82 | const char *mode); |
81 | LUALIB_API int (luaL_loadbufferx) (lua_State *L, const char *buff, size_t sz, | 83 | LUALIB_API int (luaL_loadbufferx) (lua_State *L, const char *buff, size_t sz, |