mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Make redbean serialization deterministic
This commit is contained in:
parent
85aecbda67
commit
c9e68b0ebc
15 changed files with 452 additions and 150 deletions
18
libc/stdio/strlist.internal.h
Normal file
18
libc/stdio/strlist.internal.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_STDIO_STRLIST_H_
|
||||
#define COSMOPOLITAN_LIBC_STDIO_STRLIST_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct StrList {
|
||||
int i, n;
|
||||
char **p;
|
||||
};
|
||||
|
||||
void FreeStrList(struct StrList *) hidden;
|
||||
int AppendStrList(struct StrList *) hidden;
|
||||
void SortStrList(struct StrList *) hidden;
|
||||
int JoinStrList(struct StrList *, char **, uint64_t) hidden;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_STDIO_STRLIST_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue