text: // AUTOGENERATED FILE - DO NOT MODIFY!
  // This file generated by Djinni from open_pgp.djinni
  
  #include "NativeIBirthday.hpp"  // my header
  #include "jni_base_h/Marshal.hpp"
  
  namespace ProtonMail {
  
  NativeIBirthday::NativeIBirthday() : ::djinni::JniInterface<::ProtonMail::IBirthday, NativeIBirthday>("ch/protonmail/android/utils/nativelib/IBirthday$CppProxy") {}
  
  NativeIBirthday::~NativeIBirthday() = default;
  
  
  CJNIEXPORT void JNICALL Java_ch_protonmail_android_utils_nativelib_IBirthday_00024CppProxy_nativeDestroy(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          delete reinterpret_cast<::djinni::CppProxyHandle<::ProtonMail::IBirthday>*>(nativeRef);
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, )
  }
  
  CJNIEXPORT jstring JNICALL Java_ch_protonmail_android_utils_nativelib_IBirthday_00024CppProxy_native_1getDate(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ProtonMail::IBirthday>(nativeRef);
          auto r = ref->getDate();
          return ::djinni::release(::djinni::String::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  CJNIEXPORT jstring JNICALL Java_ch_protonmail_android_utils_nativelib_IBirthday_00024CppProxy_native_1getType(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ProtonMail::IBirthday>(nativeRef);
          auto r = ref->getType();
          return ::djinni::release(::djinni::String::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  CJNIEXPORT jstring JNICALL Java_ch_protonmail_android_utils_nativelib_IBirthday_00024CppProxy_native_1getText(JNIEnv* jniEnv, jobject /*this*/, jlong nativeRef)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE1(jniEnv, nativeRef);
          const auto& ref = ::djinni::objectFromHandleAddress<::ProtonMail::IBirthday>(nativeRef);
          auto r = ref->getText();
          return ::djinni::release(::djinni::String::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  CJNIEXPORT jobject JNICALL Java_ch_protonmail_android_utils_nativelib_IBirthday_00024CppProxy_createInstance(JNIEnv* jniEnv, jobject /*this*/, jstring j_type, jstring j_date)
  {
      try {
          DJINNI_FUNCTION_PROLOGUE0(jniEnv);
          auto r = ::ProtonMail::IBirthday::create_instance(::djinni::String::toCpp(jniEnv, j_type),
                                                            ::djinni::String::toCpp(jniEnv, j_date));
          return ::djinni::release(::ProtonMail::NativeIBirthday::fromCpp(jniEnv, r));
      } JNI_TRANSLATE_EXCEPTIONS_RETURN(jniEnv, 0 /* value doesn't matter */)
  }
  
  }  // namespace ProtonMail
  