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

Method testIntArray

test-suite/generated-src/wasm/NativeTestArray.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23}
24em::val NativeTestArray::testIntArray(const em::val& w_a) {
25 try {
26 auto r = ::testsuite::TestArray::testIntArray(::djinni::Array<::djinni::I32>::toCpp(w_a));
27 return ::djinni::Array<::djinni::I32>::fromCpp(r);
28 }
29 catch(const std::exception& e) {
30 return ::djinni::ExceptionHandlingTraits<::djinni::Array<::djinni::I32>>::handleNativeException(e);
31 }
32}
33em::val NativeTestArray::testRecordArray(const em::val& w_a) {
34 try {
35 auto r = ::testsuite::TestArray::testRecordArray(::djinni::Array<::djinni_generated::NativeVec2>::toCpp(w_a));

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected