diff options
Diffstat (limited to 'include/wabt/c-writer.h')
-rw-r--r-- | include/wabt/c-writer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wabt/c-writer.h b/include/wabt/c-writer.h index a1731a7f..7d9ff6ad 100644 --- a/include/wabt/c-writer.h +++ b/include/wabt/c-writer.h @@ -19,6 +19,7 @@ #include <functional> #include "wabt/common.h" +#include "wabt/feature.h" #include "wabt/ir.h" namespace wabt { @@ -28,6 +29,8 @@ class Stream; struct WriteCOptions { std::string_view module_name; + /* Set of wasm features enabled for wasm2c */ + Features* features; /* * name_to_output_file_index takes const iterators to begin and end of a list * of all functions in the module, number of imported functions, and number of |