ledger-core
Secp256k1.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from secp256k1.djinni
3 
4 #ifndef DJINNI_GENERATED_SECP256K1_HPP_JNI_
5 #define DJINNI_GENERATED_SECP256K1_HPP_JNI_
6 
7 #include "../../api/Secp256k1.hpp"
8 #include "djinni_support.hpp"
9 
10 namespace djinni_generated {
11 
12 class Secp256k1 final : ::djinni::JniInterface<::ledger::core::api::Secp256k1, Secp256k1> {
13 public:
14  using CppType = std::shared_ptr<::ledger::core::api::Secp256k1>;
15  using CppOptType = std::shared_ptr<::ledger::core::api::Secp256k1>;
16  using JniType = jobject;
17 
18  using Boxed = Secp256k1;
19 
20  ~Secp256k1();
21 
22  static CppType toCpp(JNIEnv* jniEnv, JniType j) { return ::djinni::JniClass<Secp256k1>::get()._fromJava(jniEnv, j); }
23  static ::djinni::LocalRef<JniType> fromCppOpt(JNIEnv* jniEnv, const CppOptType& c) { return {jniEnv, ::djinni::JniClass<Secp256k1>::get()._toJava(jniEnv, c)}; }
24  static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, const CppType& c) { return fromCppOpt(jniEnv, c); }
25 
26 private:
27  Secp256k1();
28  friend ::djinni::JniClass<Secp256k1>;
29  friend ::djinni::JniInterface<::ledger::core::api::Secp256k1, Secp256k1>;
30 
31 };
32 
33 } // namespace djinni_generated
34 #endif //DJINNI_GENERATED_SECP256K1_HPP_JNI_
Definition: Secp256k1.hpp:12
Definition: Account.cpp:22
Definition: djinni_support.hpp:223
Definition: djinni_support.hpp:379