1 /** 2 * This project is a C++ API for 3 * [Wasmtime](https://github.com/bytecodealliance/wasmtime). Support for the 4 * C++ API is exclusively built on the [C API of 5 * Wasmtime](https://docs.wasmtime.dev/c-api/), so the C++ support for this is 6 * just a set of header files. Like the C API the C++ API is split into 7 * separate headers to be included on an as-needed basis. Types shouldn't 8 * need to use the C API, but if something is missing please feel free to file 9 * an issue. 10 * 11 * Examples can be [found 12 * online](https://github.com/bytecodealliance/wasmtime/tree/main/examples) 13 * and otherwise be sure to check out the 14 * [README](https://github.com/bytecodealliance/wasmtime/blob/main/crates/c-api/README.md) 15 * for simple usage instructions. Otherwise you can dive right in to the 16 * reference documentation of \ref wasmtime.hh 17 * 18 * \example hello.cc 19 * \example gcd.cc 20 * \example linking.cc 21 * \example memory.cc 22 * \example multimemory.cc 23 * \example interrupt.cc 24 * \example multi.cc 25 * \example anyref.cc 26 * \example externref.cc 27 * \example serialize.cc 28 * \example threads.cc 29 */ 30 31 /** 32 * \file wasmtime.hh 33 */ 34 35 #ifndef WASMTIME_HH 36 #define WASMTIME_HH 37 38 #include <wasmtime/config.hh> 39 #include <wasmtime/engine.hh> 40 #include <wasmtime/error.hh> 41 #include <wasmtime/exn.hh> 42 #include <wasmtime/extern.hh> 43 #include <wasmtime/func.hh> 44 #include <wasmtime/gc.hh> 45 #include <wasmtime/global.hh> 46 #include <wasmtime/instance.hh> 47 #include <wasmtime/linker.hh> 48 #include <wasmtime/memory.hh> 49 #include <wasmtime/module.hh> 50 #include <wasmtime/store.hh> 51 #include <wasmtime/table.hh> 52 #include <wasmtime/tag.hh> 53 #include <wasmtime/trap.hh> 54 #include <wasmtime/types.hh> 55 #include <wasmtime/val.hh> 56 #include <wasmtime/wasi.hh> 57 58 #endif // WASMTIME_HH 59