| 26 | } |
| 27 | } |
| 28 | int32_t NativeExternInterface1::bar(const CppType& self, int32_t w_e) { |
| 29 | try { |
| 30 | auto r = self->bar(::djinni_generated::NativeColor::toCpp(w_e)); |
| 31 | return ::djinni_generated::NativeColor::fromCpp(r); |
| 32 | } |
| 33 | catch(const std::exception& e) { |
| 34 | return ::djinni::ExceptionHandlingTraits<::djinni_generated::NativeColor>::handleNativeException(e); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | EMSCRIPTEN_BINDINGS(_extern_interface_1) { |
| 39 | ::djinni::DjinniClass_<::ExternInterface1>("testsuite_ExternInterface1", "testsuite.ExternInterface1") |