3 #include "org_bitcoin_Secp256k1Context.h"
4 #include "include/secp256k1.h"
6 SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context
7 (JNIEnv* env, jclass classObject)
9 secp256k1_context *ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY);
11 (void)classObject;(void)env;
13 return (uintptr_t)ctx;