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

Method returnArrayInt

perftest/generated-src/wasm/NativeDjinniPerfBenchmark.cpp:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209 }
210}
211em::val NativeDjinniPerfBenchmark::returnArrayInt(const CppType& self, int32_t w_size) {
212 try {
213 auto r = self->returnArrayInt(::djinni::I32::toCpp(w_size));
214 return ::djinni::Array<::djinni::I64>::fromCpp(r);
215 }
216 catch(const std::exception& e) {
217 return ::djinni::ExceptionHandlingTraits<::djinni::Array<::djinni::I64>>::handleNativeException(e);
218 }
219}
220em::val NativeDjinniPerfBenchmark::returnListObject(const CppType& self, int32_t w_size) {
221 try {
222 auto r = self->returnListObject(::djinni::I32::toCpp(w_size));

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected