diff options
author | Ben Smith <binjimin@gmail.com> | 2017-02-17 16:32:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-17 16:32:20 -0800 |
commit | 28a34066f1f17b0ce7070835a695f621bdfe59ea (patch) | |
tree | 3396db9aad083b616981f2980953afd1b654be85 /src/binary-reader-interpreter.h | |
parent | 6463c765207e37e55af1c6a06ff06071af131c07 (diff) | |
download | wabt-28a34066f1f17b0ce7070835a695f621bdfe59ea.tar.gz wabt-28a34066f1f17b0ce7070835a695f621bdfe59ea.tar.bz2 wabt-28a34066f1f17b0ce7070835a695f621bdfe59ea.zip |
Remove WabtAllocator (#307)
It complicates the code everywhere. It's faster to use a stack
allocator, but not worth the trouble for maintainability.
Diffstat (limited to 'src/binary-reader-interpreter.h')
-rw-r--r-- | src/binary-reader-interpreter.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/binary-reader-interpreter.h b/src/binary-reader-interpreter.h index 4f1b9c14..b242c55f 100644 --- a/src/binary-reader-interpreter.h +++ b/src/binary-reader-interpreter.h @@ -19,15 +19,12 @@ #include "common.h" -struct WabtAllocator; struct WabtInterpreterEnvironment; struct WabtInterpreterModule; struct WabtReadBinaryOptions; WABT_EXTERN_C_BEGIN WabtResult wabt_read_binary_interpreter( - struct WabtAllocator* allocator, - struct WabtAllocator* memory_allocator, struct WabtInterpreterEnvironment* env, const void* data, size_t size, |