summaryrefslogtreecommitdiff
path: root/src/binary-reader.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2016-12-05 10:25:39 -0800
committerGitHub <noreply@github.com>2016-12-05 10:25:39 -0800
commit06f824b34df0a953ad7969db95c28d93c0c41cd5 (patch)
treefa904c0fd77cb0a67dffe4d174dc7de907ff6208 /src/binary-reader.h
parent4ee278d04664ebdb84ff5a6c7d37515fe1857ea3 (diff)
downloadwabt-06f824b34df0a953ad7969db95c28d93c0c41cd5.tar.gz
wabt-06f824b34df0a953ad7969db95c28d93c0c41cd5.tar.bz2
wabt-06f824b34df0a953ad7969db95c28d93c0c41cd5.zip
Rename `user` sections to `custom` sections (#231)
* Rename `user` sections to `custom` sections As per https://github.com/WebAssembly/design/pull/87
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r--src/binary-reader.h10
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 */