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

Method id_binary

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

Source from the content-addressed store, hash-verified

232 }
233}
234em::val NativeTestHelpers::id_binary(const em::val& w_b) {
235 try {
236 auto r = ::testsuite::TestHelpers::id_binary(::djinni::Binary::toCpp(w_b));
237 return ::djinni::Binary::fromCpp(r);
238 }
239 catch(const std::exception& e) {
240 return ::djinni::ExceptionHandlingTraits<::djinni::Binary>::handleNativeException(e);
241 }
242}
243em::val NativeTestHelpers::get_async_result() {
244 try {
245 auto r = ::testsuite::TestHelpers::get_async_result();

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected