Half finished with serialization routine

This commit is contained in:
2023-04-04 15:24:25 -04:00
parent 074f20f93b
commit bee43ebbd2
3 changed files with 239 additions and 7 deletions

View File

@@ -217,13 +217,16 @@ int LuaTypeTagValue(lua_State *L) { return 0; }
// Lua table types. These deliberately do not overlap
// with lua type values.
//
#define LUA_TT_GENERAL 16
#define LUA_TT_REGISTRY 17
#define LUA_TT_GLOBALENV 18
#define LUA_TT_TANGIBLE 19
#define LUA_TT_TANGIBLEMETA 20
#define LUA_TT_GLOBALDB 21
#define LUA_TT_CLASS 22
enum LuaTableType {
LUA_TT_GENERAL = LUA_NUMTAGS,
LUA_TT_REGISTRY,
LUA_TT_GLOBALENV,
LUA_TT_TANGIBLE,
LUA_TT_TANGIBLEMETA,
LUA_TT_CLASS,
LUA_TT_SENTINEL
};
// World types enum.