Commit Graph

11 Commits

Author SHA1 Message Date
Mark McCaskey
62663ab5e1 Get multi.c working in the Wasm C API 2020-12-17 14:35:55 -08:00
Ivan Enderlin
a4012b7ed2 test+doc(c-api) Start testing and documenting the value module. 2020-12-15 16:50:14 +01:00
Ivan Enderlin
ffad2d7bad fix(c-api) Fix a typo. 2020-11-16 11:19:17 +01:00
Ivan Enderlin
cf9e2fbcdd chore(c-api) Use Option<&T> rather than Option<NonNull<T>>. 2020-11-16 11:07:02 +01:00
Ivan Enderlin
73244111a6 fix(c-api) Rewrite wasm_val_copy to use &mut and no unwrap. 2020-11-16 10:49:37 +01:00
Ivan Enderlin
8b38dd575e feat(c-api) Implement wasm_val_vec_t. 2020-10-12 11:22:54 +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
0095ec9538 fix(c-api) wasm_val_t is not an opaque type, let's use a C representation. 2020-10-01 23:07:43 +02:00
Ivan Enderlin
8f627d9834 feat(c-api) Instruct cbindgen to ignore all functions and types defined in wasm.h. 2020-09-28 14:49:44 +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
7bb7684823 feat(c-api) Move value into its own module. 2020-09-24 09:06:37 +02:00