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

Method create

test-suite/generated-src/wasm/NativeDataRefTest.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93}
94em::val NativeDataRefTest::create() {
95 try {
96 auto r = ::testsuite::DataRefTest::create();
97 return ::djinni_generated::NativeDataRefTest::fromCpp(r);
98 }
99 catch(const std::exception& e) {
100 return ::djinni::ExceptionHandlingTraits<::djinni_generated::NativeDataRefTest>::handleNativeException(e);
101 }
102}
103
104EMSCRIPTEN_BINDINGS(testsuite_DataRefTest) {
105 ::djinni::DjinniClass_<::testsuite::DataRefTest>("testsuite_DataRefTest", "testsuite.DataRefTest")

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected