summaryrefslogtreecommitdiff
path: root/src/binary-reader-linker.h
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-02-17 16:32:20 -0800
committerGitHub <noreply@github.com>2017-02-17 16:32:20 -0800
commit28a34066f1f17b0ce7070835a695f621bdfe59ea (patch)
tree3396db9aad083b616981f2980953afd1b654be85 /src/binary-reader-linker.h
parent6463c765207e37e55af1c6a06ff06071af131c07 (diff)
downloadwabt-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-linker.h')
-rw-r--r--src/binary-reader-linker.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/binary-reader-linker.h b/src/binary-reader-linker.h
index 4371592e..3420a8b6 100644
--- a/src/binary-reader-linker.h
+++ b/src/binary-reader-linker.h
@@ -20,13 +20,11 @@
#include "common.h"
#include "stream.h"
-struct WabtAllocator;
struct WabtLinkerInputBinary;
WABT_EXTERN_C_BEGIN
-WabtResult wabt_read_binary_linker(struct WabtAllocator* allocator,
- struct WabtLinkerInputBinary* input_info);
+WabtResult wabt_read_binary_linker(struct WabtLinkerInputBinary* input_info);
WABT_EXTERN_C_END