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

Method check_empty_map

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

Source from the content-addressed store, hash-verified

103 }
104}
105bool NativeTestHelpers::check_empty_map(const em::val& w_m) {
106 try {
107 auto r = ::testsuite::TestHelpers::check_empty_map(::djinni::Map<::djinni::String, ::djinni::I64>::toCpp(w_m));
108 return ::djinni::Bool::fromCpp(r);
109 }
110 catch(const std::exception& e) {
111 return ::djinni::ExceptionHandlingTraits<::djinni::Bool>::handleNativeException(e);
112 }
113}
114em::val NativeTestHelpers::get_map_list_record() {
115 try {
116 auto r = ::testsuite::TestHelpers::get_map_list_record();

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected