Commit Graph

37 Commits

Author SHA1 Message Date
Ivan Enderlin
a4012b7ed2 test+doc(c-api) Start testing and documenting the value module. 2020-12-15 16:50:14 +01:00
Ivan Enderlin
c9a919b88a doc(c-api) Fix a link. 2020-12-15 16:32:11 +01:00
Ivan Enderlin
43169dab4c test+doc(c-api) Add test and write documentation of the wat module. 2020-12-14 16:26:26 +01:00
Ivan Enderlin
13d5ae5075 doc(c-api) Improve the documentation of the version module. 2020-12-14 16:17:04 +01:00
Ivan Enderlin
4eb4ae95e1 doc(c-api) Write small documentation for the macros module. 2020-12-14 16:11:33 +01:00
Ivan Enderlin
d2c50f9a81 test+doc(c-api) Add tests and write documentation of the store module. 2020-12-14 16:09:00 +01:00
Ivan Enderlin
b2564432d3 test+doc(c-api) Improve the documentation and test of the module module. 2020-12-14 15:58:24 +01:00
Ivan Enderlin
bb9144c20f test+doc(c-api) Add more tests and improve documentation. 2020-12-14 15:48:15 +01:00
Ivan Enderlin
3079fc8e05 doc(c-api) Improve the documentation of the wasm_c_api module. 2020-12-14 15:28:50 +01:00
Ivan Enderlin
3a8a0d3ed9 feat(c-api) Implement the wasmer_version function.
When the `.h` files aren't accessible, it is useful to get a function
to retrieve the version of the Wasmer C API.
2020-12-14 11:13:55 +01:00
Ivan Enderlin
eb01733839 doc(c-api) Document the instance module. 2020-11-30 16:56:45 +01:00
Ivan Enderlin
ca54997cbd doc(c-api) Document the engine module. 2020-11-30 15:43:12 +01:00
Ivan Enderlin
5a71aceb45 doc(c-api) Document the engine module. 2020-11-30 15:41:54 +01:00
Ivan Enderlin
581ca917ad doc(c-api) Document the module module. 2020-11-30 15:41:34 +01:00
Mark McCaskey
d687dd5bd6 Add system-libffi feature to wasmer C API crate 2020-10-08 14:59:42 -07:00
Mark McCaskey
ea8bb1ee79 Merge branch 'master' into feature/engine-object-file 2020-10-06 17:50:55 -07:00
Ivan Enderlin
ded3132b44 feat(c-api) Implement wat2wasm. 2020-10-06 11:09:35 +02:00
Mark McCaskey
0f8d68652f Finish merge with C API refactor 2020-10-05 12:30:58 -07:00
Mark McCaskey
f0487763bf Readd functionality from object file engine 2020-10-02 17:31:18 -07:00
Ivan Enderlin
7f4862117f doc(c-api) Write a quick introduction to the crate. 2020-10-02 10:40:26 +02:00
Ivan Enderlin
ae1a50b5d7 chore(c-api) Move cbindgen:ignore from functions/types to modules.
This patch removes the amount of `cbindgen:ignore` instructions by
moving this instruction onto the parent module.
2020-10-02 09:51:48 +02:00
Ivan Enderlin
d55b701e9d feat(c-api) Make wasi_config_t and wasi_env_t opaque structures.
Removing `repr(C)` make them opaque for cbindgen. Which is perfect for what we want.
2020-09-29 16:01:52 +02:00
Ivan Enderlin
1a0527af78 feat(c-api) Move all types into their own modules. 2020-09-24 11:41:04 +02:00
Ivan Enderlin
44559a9f04 feat(c-api) Move as_extern APIs into the externals module. 2020-09-24 09:48:56 +02:00
Ivan Enderlin
50fbb9766d feat(c-api) Move instance into its own module. 2020-09-24 09:19:53 +02:00
Ivan Enderlin
9b292ad9a7 feat(c-api) Move module into its own module. 2020-09-24 09:10:03 +02:00
Ivan Enderlin
7bb7684823 feat(c-api) Move value into its own module. 2020-09-24 09:06:37 +02:00
Ivan Enderlin
e7f06330c6 feat(c-api) Move function into its own module. 2020-09-24 08:56:28 +02:00
Ivan Enderlin
95fa49d92d feat(c-api) Move table into its own module. 2020-09-24 08:51:37 +02:00
Ivan Enderlin
bc664b011d feat(c-api) Move memory into its own module. 2020-09-22 17:21:19 +02:00
Ivan Enderlin
b63ce6e2cf feat(c-api) Extract global into its own module. 2020-09-22 17:15:52 +02:00
Ivan Enderlin
5b72815a00 feat(c-api) Extract engine and store into their own module. 2020-09-22 17:08:57 +02:00
Ivan Enderlin
1e4bed9b4f Merge branch 'master' into feat-c-api-deprecations 2020-09-22 09:48:41 +02:00
Ivan Enderlin
7cafae2b96 feat(c-api) Reorganize the crate to put the Wasmer C API as deprecated code. 2020-09-22 09:35:01 +02:00
Ivan Enderlin
dfd50ee6ec feat(c-api) Implement wasm_importtype_delete. 2020-09-21 15:20:26 +02:00
Mark McCaskey
892fb4efcf Make caller responsible for allocation array for getting WASI imports 2020-08-12 17:08:58 -07:00
Mark McCaskey
1211874f4a Implement WASI for the Wasm C API 2020-08-10 15:53:40 -07:00