diff options
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r-- | src/binary-reader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h index bf928d61..e51c0f01 100644 --- a/src/binary-reader.h +++ b/src/binary-reader.h @@ -49,11 +49,11 @@ 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); + /* custom section */ + WasmResult (*begin_custom_section)(WasmBinaryReaderContext* ctx, + uint32_t size, + WasmStringSlice section_name); + WasmResult (*end_custom_section)(WasmBinaryReaderContext* ctx); /* signatures section */ /* TODO(binji): rename to "type" section */ |