1
0
mirror of https://github.com/fluencelabs/wasmer synced 2025-03-26 20:51:04 +00:00

380 Commits

Author SHA1 Message Date
Syrus Akbary
97328b3af7
Fixed typo 2020-02-10 13:24:11 -08:00
bors[bot]
9d80584c97
Merge
1202: doc(runtime-c-api) Improve documentation of the `memory` module r=syrusakbary a=Hywan

Address https://github.com/wasmerio/wasmer/issues/1203.

As part of the daily doc routine, this patch improves the documentation of `memory` module.

This patch also handles more null pointers.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2020-02-10 19:55:02 +00:00
Ivan Enderlin
285c564de1 chore(runtime-c-api) Simplify code. 2020-02-10 11:47:04 +01:00
Ivan Enderlin
c54c8297f5 chore(runtime-c-api) Update C/C++ headers. 2020-02-10 11:37:45 +01:00
Ivan Enderlin
151ca3792a test(runtime-c-api) Simplify code. 2020-02-10 11:37:29 +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
4d67a32a1e fix(runtime-c-api) Remove a file that should have been ignored. 2020-02-10 09:57:54 +01:00
Ivan Enderlin
743b192512 chore(runtime-c-api) Update C/C++ headers. 2020-01-29 14:50:18 +01:00
Ivan Enderlin
5fb7f4ea3b doc(runtime-c-api) Generate documentation for wasmer.h only. 2020-01-29 14:49:45 +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
13f87b1618 chore(runtime-c-api) Update C/C++ headers. 2020-01-20 15:59:30 +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
11e915f00f test(runtime-c-api) Simplify code. 2020-01-20 15:52:59 +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
Mark McCaskey
430524ce51 Prepare for 0.13.1 release 2020-01-16 14:07:18 -08:00
Ivan Enderlin
96f96f5d20 chore(runtime-c-api) Update C/C++ headers. 2020-01-16 12:31:43 +01:00