add the _set suffix to static_memory_guard_size and dynamic_memory_guard_size properties in c-api (#1662)
This commit is contained in:
@@ -153,11 +153,11 @@ pub extern "C" fn wasmtime_config_static_memory_maximum_size_set(c: &mut wasm_co
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn wasmtime_config_static_memory_guard_size(c: &mut wasm_config_t, size: u64) {
|
pub extern "C" fn wasmtime_config_static_memory_guard_size_set(c: &mut wasm_config_t, size: u64) {
|
||||||
c.config.static_memory_guard_size(size);
|
c.config.static_memory_guard_size(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn wasmtime_config_dynamic_memory_guard_size(c: &mut wasm_config_t, size: u64) {
|
pub extern "C" fn wasmtime_config_dynamic_memory_guard_size_set(c: &mut wasm_config_t, size: u64) {
|
||||||
c.config.dynamic_memory_guard_size(size);
|
c.config.dynamic_memory_guard_size(size);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user