mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-29 22:10:27 +00:00
Simplify redbean serialization code
This commit is contained in:
parent
3fdb1c14f1
commit
8bd9ad8342
9 changed files with 261 additions and 86 deletions
9
third_party/lua/cosmo.h
vendored
9
third_party/lua/cosmo.h
vendored
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue