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

Method generateData

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

Source from the content-addressed store, hash-verified

47 }
48}
49em::val NativeDataRefTest::generateData(const CppType& self) {
50 try {
51 auto r = self->generateData();
52 return ::djinni::NativeDataRef::fromCpp(r);
53 }
54 catch(const std::exception& e) {
55 return ::djinni::ExceptionHandlingTraits<::djinni::NativeDataRef>::handleNativeException(e);
56 }
57}
58em::val NativeDataRefTest::dataFromVec(const CppType& self) {
59 try {
60 auto r = self->dataFromVec();

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected