mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-08 07:23:33 +00:00
21 lines
653 B
C
21 lines
653 B
C
#ifndef COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
|
#define COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
char *sleb64(char *, int64_t);
|
|
char *zleb64(char *, int64_t);
|
|
char *uleb64(char[hasatleast 10], uint64_t);
|
|
int unzleb64(const char *, size_t, int64_t *);
|
|
int unuleb64(char *, size_t, uint64_t *);
|
|
|
|
#ifndef __STRICT_ANSI__
|
|
char *sleb128(char *, int128_t);
|
|
char *zleb128(char *, int128_t);
|
|
char *uleb128(char *, uint128_t);
|
|
int unsleb128(const void *, size_t, int128_t *);
|
|
#endif /* __STRICT_ANSI__ */
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_FMT_LEB128_H_ */
|