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

Method bar

test-suite/generated-src/wasm/NativeExternInterface1.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27}
28int32_t NativeExternInterface1::bar(const CppType& self, int32_t w_e) {
29 try {
30 auto r = self->bar(::djinni_generated::NativeColor::toCpp(w_e));
31 return ::djinni_generated::NativeColor::fromCpp(r);
32 }
33 catch(const std::exception& e) {
34 return ::djinni::ExceptionHandlingTraits<::djinni_generated::NativeColor>::handleNativeException(e);
35 }
36}
37
38EMSCRIPTEN_BINDINGS(_extern_interface_1) {
39 ::djinni::DjinniClass_<::ExternInterface1>("testsuite_ExternInterface1", "testsuite.ExternInterface1")

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected