summaryrefslogtreecommitdiff
path: root/src/wasm-binary-reader.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2016-10-31 16:58:52 -0700
committerGitHub <noreply@github.com>2016-10-31 16:58:52 -0700
commitb284c48616fff555752b426f3792c0a24aad8ac1 (patch)
tree063fac8a849a6463537758536d9cc6692d459ed3 /src/wasm-binary-reader.h
parent5d6cd3e3a37c48327db5c67c5dc0cdf69f25973e (diff)
downloadwabt-b284c48616fff555752b426f3792c0a24aad8ac1.tar.gz
wabt-b284c48616fff555752b426f3792c0a24aad8ac1.tar.bz2
wabt-b284c48616fff555752b426f3792c0a24aad8ac1.zip
wasmdump improvments (#192)
* wasmdump improvments - Split into three different passes: headers, details, and raw - Nest imports correctly - Show element count as part of section header rather than on its own line
Diffstat (limited to 'src/wasm-binary-reader.h')
-rw-r--r--src/wasm-binary-reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-binary-reader.h b/src/wasm-binary-reader.h
index 59bfffcf..424203e9 100644
--- a/src/wasm-binary-reader.h
+++ b/src/wasm-binary-reader.h
@@ -46,7 +46,7 @@ typedef struct WasmBinaryReader {
void (*on_error)(WasmBinaryReaderContext* ctx, const char* message);
/* module */
- WasmResult (*begin_module)(void* user_data);
+ WasmResult (*begin_module)(uint32_t version, void* user_data);
WasmResult (*end_module)(void* user_data);
/* signatures section */