ledger-core
TezosCurve.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from addresses.djinni
3 
4 #ifndef DJINNI_GENERATED_TEZOSCURVE_HPP_JNI_
5 #define DJINNI_GENERATED_TEZOSCURVE_HPP_JNI_
6 
7 #include "../../api/TezosCurve.hpp"
8 #include "djinni_support.hpp"
9 
10 namespace djinni_generated {
11 
13 public:
14  using CppType = ::ledger::core::api::TezosCurve;
15  using JniType = jobject;
16 
17  using Boxed = TezosCurve;
18 
19  static CppType toCpp(JNIEnv* jniEnv, JniType j) { return static_cast<CppType>(::djinni::JniClass<TezosCurve>::get().ordinal(jniEnv, j)); }
20  static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, CppType c) { return ::djinni::JniClass<TezosCurve>::get().create(jniEnv, static_cast<jint>(c)); }
21 
22 private:
23  TezosCurve() : JniEnum("co/ledger/core/TezosCurve") {}
24  friend ::djinni::JniClass<TezosCurve>;
25 };
26 
27 } // namespace djinni_generated
28 #endif //DJINNI_GENERATED_TEZOSCURVE_HPP_JNI_
Definition: djinni_support.hpp:551
Definition: Account.cpp:22
Definition: djinni_support.hpp:223
Definition: TezosCurve.hpp:12