diff options
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r-- | src/binary-reader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h index feef44f5..617dec4c 100644 --- a/src/binary-reader.h +++ b/src/binary-reader.h @@ -49,6 +49,12 @@ typedef struct WasmBinaryReader { WasmResult (*begin_module)(uint32_t version, void* user_data); WasmResult (*end_module)(void* user_data); + /* user section */ + WasmResult (*begin_user_section)(WasmBinaryReaderContext* ctx, + uint32_t size, + WasmStringSlice section_name); + WasmResult (*end_user_section)(WasmBinaryReaderContext* ctx); + /* signatures section */ /* TODO(binji): rename to "type" section */ WasmResult (*begin_signature_section)(WasmBinaryReaderContext* ctx, |