diff options
Diffstat (limited to 'src/wasm-binary-writer.h')
-rw-r--r-- | src/wasm-binary-writer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wasm-binary-writer.h b/src/wasm-binary-writer.h index e4435845..b799d20e 100644 --- a/src/wasm-binary-writer.h +++ b/src/wasm-binary-writer.h @@ -23,12 +23,13 @@ struct WasmAllocator; struct WasmModule; struct WasmScript; struct WasmWriter; +struct WasmStream; #define WASM_WRITE_BINARY_OPTIONS_DEFAULT \ - { WASM_FALSE, WASM_TRUE, WASM_TRUE, WASM_FALSE } + { NULL, WASM_TRUE, WASM_TRUE, WASM_FALSE } typedef struct WasmWriteBinaryOptions { - WasmBool log_writes; + struct WasmStream* log_stream; WasmBool canonicalize_lebs; WasmBool remap_locals; WasmBool write_debug_names; |