Mark McCaskey
9723270f96
Fix tests for the Cranelift backend
2020-04-24 14:55:30 -07:00
bors[bot]
ab106af422
Merge #1358
...
1358: Update C API to use new API r=MarkMcCaskey a=MarkMcCaskey
# Review
- [ ] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+MarkMcCaskey@users.noreply.github.com>
2020-04-21 20:12:46 +00:00
Amir Keshavarz
4ce6280a13
Correct ctx data variable name in comment
2020-04-21 08:47:14 +04:30
Mark McCaskey
4f23ed7f20
Readjust where things are exported in the new API
2020-04-10 12:12:36 -07:00
Mark McCaskey
b72000a2d6
Update emscripten in C API to use new API crate
2020-04-08 16:40:41 -07:00
Mark McCaskey
db76aea198
Remove more uses of wasmer_runtime_core from the C API
2020-04-07 17:28:23 -07:00
Mark McCaskey
83f0a043e7
Update C API to use new API
2020-04-06 17:09:50 -07:00
Ivan Enderlin
9826ff3813
fix(runtime-c-api) Change mutability of memory
for const
in wasmer_memory_data_length
.
2020-03-26 07:30:34 +01:00
losfair
3e63f1aaa9
Deprecate wasmer_trampoline_buffer_builder_add_callinfo_trampoline.
2020-03-10 12:37:40 +08:00
nlewycky
3b1a1227c7
Fix typo in comment.
...
Noticed while inspecting the generated wasmer.h.
2020-02-21 11:49:18 -08:00
Syrus Akbary
97328b3af7
Fixed typo
2020-02-10 13:24:11 -08:00
Ivan Enderlin
285c564de1
chore(runtime-c-api) Simplify code.
2020-02-10 11:47:04 +01:00
Ivan Enderlin
b57cd83504
doc(runtime-c-api) Improve documentation of wasmer_memory_destroy
.
2020-02-10 11:36:53 +01:00
Ivan Enderlin
38ee947354
doc(runtime-c-api) Rephrase null pointers.
2020-02-10 11:36:40 +01:00
Ivan Enderlin
ee0f05f9a1
feat(runtime-c-api) wasmer_memory_data_length
returns 0 if memory
is NULL.
2020-02-10 11:31:54 +01:00
Ivan Enderlin
b1a0e1933c
doc(runtime-c-api) Improve documentation of wasmer_memory_data_length
.
2020-02-10 11:31:24 +01:00
Ivan Enderlin
da439fc05f
doc(runtime-c-api) Improve documentation of wasmer_memory_data
.
2020-02-10 11:31:03 +01:00
Ivan Enderlin
7eeffb8d63
feat(runtime-c-api) wasmer_memory_data
returns NULL
if memory
is NULL.
2020-02-10 11:17:15 +01:00
Ivan Enderlin
e5fa1b3c1b
doc(runtime-c-api) Improve documentation of wasmer_memory_data
.
2020-02-10 11:16:48 +01:00
Ivan Enderlin
59d35656a9
feat(runtime-c-api) wasmer_memory_grow
returns WASMER_ERROR
if memory
is NULL.
2020-02-10 11:08:59 +01:00
Ivan Enderlin
534db599b2
feat(runtime-c-api) wasmer_memory_length
returns 0 if memory
is NULL.
2020-02-10 11:04:41 +01:00
Ivan Enderlin
78056df6cc
doc(runtime-c-api) Improve documentation of wasmer_memory_length
.
2020-02-10 11:04:09 +01:00
Ivan Enderlin
ed77c9c64f
doc(runtime-c-api) Improve documentation of wasmer_memory_grow
.
2020-02-10 11:03:48 +01:00
Ivan Enderlin
8d083da303
doc(runtime-c-api) Improve documentation of wasmer_memory_new
.
2020-02-10 11:03:22 +01:00
Ivan Enderlin
2aecb49227
doc(runtime-c-api) Improve documentation of wasmer_memory_t
.
2020-02-10 11:02:50 +01:00
Ivan Enderlin
602fd8334e
doc(runtime-c-api) Improve documentation of wasmer_limit_option_t
.
2020-02-10 11:02:28 +01:00
Ivan Enderlin
933a0de5e3
doc(runtime-c-api) Improve documentation of wasmer_limits_t
.
2020-02-10 11:02:07 +01:00
Ivan Enderlin
62a2e3ecad
doc(runtime-c-api) Fix a typo.
2020-02-10 11:01:48 +01:00
Ivan Enderlin
a2ddbab03d
doc(runtime-c-api) Improve documentation of wasmer_value_t
.
2020-01-29 14:49:20 +01:00
Ivan Enderlin
9c4ce52d45
doc(runtime-c-api) Improve documentation of wasmer_value
.
2020-01-29 14:48:57 +01:00
Ivan Enderlin
5d7020a296
doc(runtime-c-api) Improve documentation of wasmer_value_tag
.
2020-01-29 14:47:56 +01:00
Ivan Enderlin
8283b6d0da
doc(runtime-c-api) Improve documentation of wasmer_instance_destroy
.
2020-01-20 15:58:27 +01:00
Ivan Enderlin
f4c8997c6d
doc(runtime-c-api) Fix a link.
2020-01-20 15:58:11 +01:00
Ivan Enderlin
df2b93ea81
fix(runtime-c-api) wasmer_instance_context_data_get
returns void
if instance
is null.
2020-01-20 15:52:14 +01:00
Ivan Enderlin
c89f53b6fa
doc(runtime-c-api) Improve documentation of wasmer_instance_context_memory
.
2020-01-20 15:51:48 +01:00
Ivan Enderlin
32ee93ef73
fix(runtime-c-api) wasmer_instance_context_data_set
does nothing if instance
is null.
2020-01-20 15:43:14 +01:00
Ivan Enderlin
05dae9ef9d
doc(runtime-c-api) Improve documentation of wasmer_instance_context_data_set
.
2020-01-20 15:42:50 +01:00
Ivan Enderlin
edf45049e1
doc(runtime-c-api) Improve documentation of wasmer_instance_context_t
.
2020-01-20 15:42:27 +01:00
Ivan Enderlin
cb632f3452
feat(runtime-c-api) Do nothing if instance
is null in wasmer_instance_exports
.
2020-01-20 15:30:00 +01:00
Ivan Enderlin
19627bdb8b
doc(runtime-c-api) Improve documentation of wasmer_instance_exports
.
2020-01-20 15:29:35 +01:00
Ivan Enderlin
3efd7d1232
doc(runtime-c-api) Improve documentation of wasmer_instance_call
.
2020-01-20 15:29:04 +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
Ivan Enderlin
ee424bbadf
doc(runtime-c-api) Improve documentation of wasmer_result_t
.
2020-01-20 15:26:52 +01:00
Ivan Enderlin
585f5615cf
fix(runtime-c-api) Fix imports, and check for null pointer.
2020-01-20 14:36:45 +01:00
Ivan Enderlin
77ba77446d
doc(runtime-c-api) Improve documentation of wasmer_instance_context_get
.
2020-01-20 14:36:11 +01:00
Ivan Enderlin
cd3a1064f9
chore(runtime-c-api) Move wasmer_module_import_instantiate
to the module
module.
2020-01-20 14:25:13 +01:00
Ivan Enderlin
384c501c93
doc(runtime-c-api) Improve error functions' documentations.
2020-01-20 14:23:52 +01:00
Mark McCaskey
5931944a21
Add clippy error checking in lint step
2020-01-17 15:47:45 -08:00