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

Method l

test-suite/generated-src/wasm/NativeEnumUsageInterface.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37}
38em::val NativeEnumUsageInterface::l(const CppType& self, const em::val& w_l) {
39 try {
40 auto r = self->l(::djinni::List<::djinni_generated::NativeColor>::toCpp(w_l));
41 return ::djinni::List<::djinni_generated::NativeColor>::fromCpp(r);
42 }
43 catch(const std::exception& e) {
44 return ::djinni::ExceptionHandlingTraits<::djinni::List<::djinni_generated::NativeColor>>::handleNativeException(e);
45 }
46}
47em::val NativeEnumUsageInterface::s(const CppType& self, const em::val& w_s) {
48 try {
49 auto r = self->s(::djinni::Set<::djinni_generated::NativeColor>::toCpp(w_s));

Callers

nothing calls this directly

Calls 1

fromCppFunction · 0.50

Tested by

no test coverage detected