kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

wasm.h (442B)


      1 #ifndef KIT_LANG_WASM_H
      2 #define KIT_LANG_WASM_H
      3 
      4 #include <kit/frontend.h>
      5 
      6 #include "runtime_abi.h"
      7 
      8 extern const KitFrontendVTable kit_wasm_frontend_vtable;
      9 
     10 /* Internal test/developer helper: parse accepted WAT and write equivalent
     11  * binary Wasm. This is intentionally not part of the installed public API. */
     12 KIT_API int kit_wasm_wat_to_wasm(KitCompiler*, const KitSlice* input,
     13                                  KitWriter* out);
     14 
     15 #endif