diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-11-26 22:43:30 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-12-29 23:36:21 +0100 |
| commit | 52c18e60929b64285d4bb333f87482d954c9b2e0 (patch) | |
| tree | 836ab3a01d160f45cda4f5a28522fc0bf471011c /private_include/leb128.h | |
| download | nanowasm-first-step.tar.gz | |
First commitfirst-step
Diffstat (limited to 'private_include/leb128.h')
| -rw-r--r-- | private_include/leb128.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/private_include/leb128.h b/private_include/leb128.h new file mode 100644 index 0000000..5550c91 --- /dev/null +++ b/private_include/leb128.h @@ -0,0 +1,9 @@ +#ifndef LEB128_H +#define LEB128_H + +#include <stdio.h> + +int leb128_read_unsigned(FILE *f, unsigned maxbits, unsigned long long *out); +int leb128_read_signed(FILE *f, unsigned maxbits, long long *out); + +#endif |
