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

Method check_enum

test-suite/generated-src/wasm/NativeTestHelpers.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163}
164void NativeTestHelpers::check_enum(int32_t w_c) {
165 try {
166 ::testsuite::TestHelpers::check_enum(::djinni_generated::NativeColor::toCpp(w_c));
167 }
168 catch(const std::exception& e) {
169 return ::djinni::ExceptionHandlingTraits<void>::handleNativeException(e);
170 }
171}
172em::val NativeTestHelpers::token_id(const em::val& w_t) {
173 try {
174 auto r = ::testsuite::TestHelpers::token_id(::djinni::Optional<std::experimental::optional, ::djinni_generated::NativeUserToken>::toCpp(w_t));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected