summaryrefslogtreecommitdiff
path: root/src/ast-lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast-lexer.h')
-rw-r--r--src/ast-lexer.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/ast-lexer.h b/src/ast-lexer.h
index e06672f5..d85f0fb4 100644
--- a/src/ast-lexer.h
+++ b/src/ast-lexer.h
@@ -23,8 +23,6 @@
#include "common.h"
#include "vector.h"
-struct WabtAllocator;
-
typedef enum WabtAstLexerSourceType {
WABT_LEXER_SOURCE_TYPE_FILE,
WABT_LEXER_SOURCE_TYPE_BUFFER,
@@ -43,7 +41,6 @@ typedef struct WabtAstLexerSource {
} WabtAstLexerSource;
typedef struct WabtAstLexer {
- struct WabtAllocator* allocator;
WabtAstLexerSource source;
const char* filename;
int line;
@@ -63,10 +60,8 @@ typedef struct WabtAstLexer {
WABT_EXTERN_C_BEGIN
-WabtAstLexer* wabt_new_ast_file_lexer(struct WabtAllocator*,
- const char* filename);
-WabtAstLexer* wabt_new_ast_buffer_lexer(struct WabtAllocator*,
- const char* filename,
+WabtAstLexer* wabt_new_ast_file_lexer(const char* filename);
+WabtAstLexer* wabt_new_ast_buffer_lexer(const char* filename,
const void* data,
size_t size);
void wabt_destroy_ast_lexer(WabtAstLexer*);