diff options
author | Mike Pall <mike> | 2012-09-21 16:32:24 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-09-21 16:32:24 +0200 |
commit | 3dceaa9a7422497aab88dac7c58467c101c5f785 (patch) | |
tree | 696564bf8ba4ee3b6a7ffd47cdc8ef1e33d7cde9 /src/lauxlib.h | |
parent | 98f05808fac3b2c439034b9eca55e7e9492e3a9f (diff) | |
download | luajit-3dceaa9a7422497aab88dac7c58467c101c5f785.tar.gz luajit-3dceaa9a7422497aab88dac7c58467c101c5f785.tar.bz2 luajit-3dceaa9a7422497aab88dac7c58467c101c5f785.zip |
Move load/dump functions to lj_load.c. Add load modes.
Diffstat (limited to 'src/lauxlib.h')
-rw-r--r-- | src/lauxlib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lauxlib.h b/src/lauxlib.h index 505a9f52..80585f64 100644 --- a/src/lauxlib.h +++ b/src/lauxlib.h | |||
@@ -75,7 +75,11 @@ LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p, | |||
75 | LUALIB_API const char *(luaL_findtable) (lua_State *L, int idx, | 75 | 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 | 78 | /* From Lua 5.2. */ | |
79 | LUALIB_API int (luaL_loadfilex) (lua_State *L, const char *filename, | ||
80 | const char *mode); | ||
81 | LUALIB_API int (luaL_loadbufferx) (lua_State *L, const char *buff, size_t sz, | ||
82 | const char *name, const char *mode); | ||
79 | 83 | ||
80 | 84 | ||
81 | /* | 85 | /* |