Simplify redbean serialization code

This commit is contained in:
Justine Tunney 2022-09-06 20:07:29 -07:00
parent 3fdb1c14f1
commit 8bd9ad8342
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
9 changed files with 261 additions and 86 deletions

View file

@ -22,15 +22,6 @@ struct Serializer {
size_t strbuflen;
};
struct SerializerJoin {
struct Serializer *z;
char **buf;
bool multi;
int depth;
int i;
const char *indent;
};
bool LuaHasMultipleItems(lua_State *);
char *LuaFormatStack(lua_State *) dontdiscard;
int LuaCallWithTrace(lua_State *, int, int, lua_State *);