MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / SetWasmMultiValue

Method SetWasmMultiValue

config.go:99–102  ·  view source on GitHub ↗

SetWasmMultiValue configures whether the wasm multi value proposal is enabled

(enabled bool)

Source from the content-addressed store, hash-verified

97
98// SetWasmMultiValue configures whether the wasm multi value proposal is enabled
99func (cfg *Config) SetWasmMultiValue(enabled bool) {
100 C.wasmtime_config_wasm_multi_value_set(cfg.ptr(), C.bool(enabled))
101 runtime.KeepAlive(cfg)
102}
103
104// SetWasmMultiMemory configures whether the wasm multi memory proposal is enabled
105func (cfg *Config) SetWasmMultiMemory(enabled bool) {

Callers 2

ExampleConfig_multiFunction · 0.95
TestConfigFunction · 0.80

Calls 1

ptrMethod · 0.95

Tested by 2

ExampleConfig_multiFunction · 0.76
TestConfigFunction · 0.64