chore(runtime-c-api) Update C/C++ headers.

This commit is contained in:
Ivan Enderlin 2020-03-26 07:32:57 +01:00
parent 9826ff3813
commit 6eaf87d651
2 changed files with 2 additions and 2 deletions

View File

@ -1171,7 +1171,7 @@ uint8_t *wasmer_memory_data(const wasmer_memory_t *memory);
* uint32_t memory_data_length = wasmer_memory_data_length(memory); * uint32_t memory_data_length = wasmer_memory_data_length(memory);
* ``` * ```
*/ */
uint32_t wasmer_memory_data_length(wasmer_memory_t *memory); uint32_t wasmer_memory_data_length(const wasmer_memory_t *memory);
/** /**
* Frees memory for the given `wasmer_memory_t`. * Frees memory for the given `wasmer_memory_t`.

View File

@ -964,7 +964,7 @@ uint8_t *wasmer_memory_data(const wasmer_memory_t *memory);
/// ```c /// ```c
/// uint32_t memory_data_length = wasmer_memory_data_length(memory); /// uint32_t memory_data_length = wasmer_memory_data_length(memory);
/// ``` /// ```
uint32_t wasmer_memory_data_length(wasmer_memory_t *memory); uint32_t wasmer_memory_data_length(const wasmer_memory_t *memory);
/// Frees memory for the given `wasmer_memory_t`. /// Frees memory for the given `wasmer_memory_t`.
/// ///