summaryrefslogtreecommitdiff
path: root/scripts/gen-emscripten-exported-json.py
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-01-10 16:32:10 -0800
committerGitHub <noreply@github.com>2018-01-10 16:32:10 -0800
commitafc3f3a84d138b64e5d259ed61c70c51d4d0abe7 (patch)
tree4cf605b53e5a064a8eee8d435531c752fecb66f0 /scripts/gen-emscripten-exported-json.py
parented1e3977f936ac4056a28afd0b5136ba054762b2 (diff)
downloadwabt-afc3f3a84d138b64e5d259ed61c70c51d4d0abe7.tar.gz
wabt-afc3f3a84d138b64e5d259ed61c70c51d4d0abe7.tar.bz2
wabt-afc3f3a84d138b64e5d259ed61c70c51d4d0abe7.zip
Use templates for generating wasm2c source (#712)
This uses a very simple template syntax, without any advanced features: ``` %%top ... %%bottom ... ``` This template will generate output with two C strings: ``` const char SECTION_NAME(top)[] = ... ... const char SECTION_NAME(bottom)[] = ... ... ``` To update the generated files, run `make update-wasm2c`.
Diffstat (limited to 'scripts/gen-emscripten-exported-json.py')
0 files changed, 0 insertions, 0 deletions