MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / dictionary_set

Function dictionary_set

Source/Wasm/WasmRuntime.cpp:1798–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1796/* Dictionary */
1797
1798DORA_EXPORT void dictionary_set(int64_t dict, int64_t key, int64_t value) {
1799 r_cast<Dictionary*>(dict)->set(*Str_From(key), Value_To(*r_cast<dora_val_t*>(value)));
1800}
1801DORA_EXPORT int64_t dictionary_get(int64_t dict, int64_t key) {
1802 return Value_From(r_cast<Dictionary*>(dict)->get(*Str_From(key)).get());
1803}

Callers 1

setMethod · 0.85

Calls 3

Str_FromFunction · 0.85
Value_ToFunction · 0.85
setMethod · 0.65

Tested by

no test coverage detected