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

Method sendData

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

Source from the content-addressed store, hash-verified

22}
23
24void NativeDataRefTest::sendData(const CppType& self, const em::val& w_data) {
25 try {
26 self->sendData(::djinni::NativeDataRef::toCpp(w_data));
27 }
28 catch(const std::exception& e) {
29 return ::djinni::ExceptionHandlingTraits<void>::handleNativeException(e);
30 }
31}
32em::val NativeDataRefTest::retriveAsBin(const CppType& self) {
33 try {
34 auto r = self->retriveAsBin();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected