Move load/dump functions to lj_load.c. Add load modes.

This commit is contained in:
Mike Pall
2012-09-21 16:32:24 +02:00
parent 98f05808fa
commit 3dceaa9a74
11 changed files with 197 additions and 139 deletions

View File

@@ -344,6 +344,8 @@ LUA_API int lua_gethookcount (lua_State *L);
/* From Lua 5.2. */
LUA_API void *lua_upvalueid (lua_State *L, int idx, int n);
LUA_API void lua_upvaluejoin (lua_State *L, int idx1, int n1, int idx2, int n2);
LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt,
const char *chunkname, const char *mode);
struct lua_Debug {