Ivan Enderlin
f4c8997c6d
doc(runtime-c-api) Fix a link.
2020-01-20 15:58:11 +01:00
Ivan Enderlin
076931de91
doc(runtime-c-api) Improve documentation of wasmer_exports_destroy
.
2020-01-20 15:28:30 +01:00
Ivan Enderlin
3022a16ec3
doc(runtime-c-api) Improve documentation of wasmer_import_export_value
.
2020-01-20 15:28:13 +01:00
Ivan Enderlin
97c25f7862
doc(runtime-c-api) Improve documentation of wasmer_exports_t
.
2020-01-20 15:27:50 +01:00
Mark McCaskey
5931944a21
Add clippy error checking in lint step
2020-01-17 15:47:45 -08:00
Ivan Enderlin
e913e8928f
chore(runtime-c-api) Fix CS.
2020-01-10 15:12:56 +01:00
bors[bot]
cf5b3cc09e
Merge #914
...
914: Fix bug in getting a Memory from export in C API r=Hywan a=MarkMcCaskey
I believe this fixes the non-deterministic crashing on OSX in `go-ext-wasm`
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-10-30 11:34:20 +00:00
Mark McCaskey
1e4fa78e11
Fix bug in getting a Memory from export in C API
2019-10-29 15:52:42 -07:00
Ivan Enderlin
c3ff8eb540
fix(runtime-c-api) Replace unsafe code by safe code.
2019-10-11 09:26:05 +02:00
Mark McCaskey
913354adb3
Add function to get export from ns/name via ImportObject to C API
2019-10-09 17:29:27 -07:00
Ivan Enderlin
a2343f9f0d
test(runtime-c-api) Fully test all kind of exports.
2019-09-05 15:08:23 +02:00
Ivan Enderlin
2d63e25075
feat(runtime-c-api) Arity cannot be negative when calling wasmer_export_func_call
.
2019-09-05 14:31:43 +02:00
Ivan Enderlin
6403159b57
Merge branch 'master' into doc-runtime-c-api-exports-1
2019-08-22 13:29:54 +02:00
Ivan Enderlin
a9bb8fea16
doc(runtime-c-api) Fix a typo.
...
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
2019-08-22 13:29:26 +02:00
Ivan Enderlin
8ad181f94c
doc(runtime-c-api) Fix a typo.
...
Co-Authored-By: Syrus Akbary <me@syrusakbary.com>
2019-08-22 13:29:11 +02:00
Nick Lewycky
18307bb79c
Improve panic/unreachable/unimplemented usage. Refactor a little.
2019-07-22 12:15:56 -07:00
Ivan Enderlin
36098189b3
doc(runtime-c-api) Document and reorganize exports.rs
.
...
This patch moves all structs at the beginning of the file, and
documents them.
2019-07-17 11:01:42 +02:00
Nick Lewycky
f4af4e387d
Stub out support for V128 in the C API for now.
2019-07-10 13:54:36 -07:00
Ivan Enderlin
63ec73aacc
fix(runtime-c-api) Remove deprecated types from libc.
...
Since https://github.com/rust-lang/libc/pull/1379 , fixed width integer
type aliases are deprecated. Thus, this patch uses Rust types instead
of libc aliases.
2019-06-12 12:10:49 +02:00
Ivan Enderlin
f04e77323b
fix(runtime-c-api) Update wasmer_export_func_params_arity
signature.
...
The `returns_len` argument type of `wasmer_export_func_returns_params`
must be `uint32_t` to match the `wasmer_export_func_returns_arity` results,
so that casts are not required.
2019-05-14 16:18:41 +02:00
Ivan Enderlin
91006bab53
fix(runtime-c-api) Update wasmer_export_func_params_arity
signature.
...
The `params_len` argument type of `wasmer_export_func_params_arity`
must be `uint32_t` to match the `wasmer_export_func_*_arity` results,
so that casts are not required.
2019-05-14 16:15:36 +02:00
Ivan Enderlin
1c063090c5
doc(runtime-c-api) Add short module descriptions.
2019-03-29 16:35:35 +01:00
Ivan Enderlin
361ff81db7
feat(runtime-c-api) Extract the import
module.
2019-03-29 15:50:16 +01:00
Ivan Enderlin
9c4696eb5b
feat(runtime-c-api) Extract the export
module.
2019-03-29 15:38:12 +01:00