summaryrefslogtreecommitdiff
path: root/src/binary-reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r--src/binary-reader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h
index 1b93013d..6224f7f1 100644
--- a/src/binary-reader.h
+++ b/src/binary-reader.h
@@ -294,9 +294,11 @@ typedef struct WasmBinaryReader {
/* names section */
WasmResult (*begin_reloc_section)(WasmBinaryReaderContext* ctx,
uint32_t size);
- WasmResult (*on_reloc_count)(uint32_t count, void* user_data);
+ WasmResult (*on_reloc_count)(uint32_t count,
+ WasmBinarySection section_code,
+ WasmStringSlice section_name,
+ void* user_data);
WasmResult (*on_reloc)(WasmRelocType type,
- uint32_t section_index,
uint32_t offset,
void* user_data);
WasmResult (*end_reloc_section)(WasmBinaryReaderContext* ctx);