MCPcopy Create free account
hub / github.com/Snapchat/djinni / check_optional_set

Method check_optional_set

test-suite/generated-src/wasm/NativeTestHelpers.cpp:342–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340 }
341}
342bool NativeTestHelpers::check_optional_set(const em::val& w_os) {
343 try {
344 auto r = ::testsuite::TestHelpers::check_optional_set(::djinni::Set<::djinni::Optional<std::experimental::optional, ::djinni::String>>::toCpp(w_os));
345 return ::djinni::Bool::fromCpp(r);
346 }
347 catch(const std::exception& e) {
348 return ::djinni::ExceptionHandlingTraits<::djinni::Bool>::handleNativeException(e);
349 }
350}
351em::val NativeTestHelpers::get_optional_map() {
352 try {
353 auto r = ::testsuite::TestHelpers::get_optional_map();

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected