diff options
Diffstat (limited to 'src/wasm-lexer.h')
-rw-r--r-- | src/wasm-lexer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wasm-lexer.h b/src/wasm-lexer.h index 0fde9c2f..acec82f8 100644 --- a/src/wasm-lexer.h +++ b/src/wasm-lexer.h @@ -25,7 +25,12 @@ struct WasmAllocator; typedef void* WasmLexer; WASM_EXTERN_C_BEGIN -WasmLexer wasm_new_lexer(struct WasmAllocator*, const char* filename); + +WasmLexer wasm_new_file_lexer(struct WasmAllocator*, const char* filename); +WasmLexer wasm_new_buffer_lexer(struct WasmAllocator*, + const char* filename, + const void* data, + size_t size); void wasm_destroy_lexer(WasmLexer); WASM_EXTERN_C_END |