Add GT inv to java ffi

update-fork
raphael 4 years ago
parent 0114a3029f
commit e1efcbe55f
  1. 3
      ffi/java/com/herumi/mcl/Fp.java
  2. 3
      ffi/java/com/herumi/mcl/Fr.java
  3. 3
      ffi/java/com/herumi/mcl/G1.java
  4. 3
      ffi/java/com/herumi/mcl/G2.java
  5. 3
      ffi/java/com/herumi/mcl/GT.java
  6. 7
      ffi/java/com/herumi/mcl/Mcl.java
  7. 3
      ffi/java/com/herumi/mcl/MclConstants.java
  8. 4
      ffi/java/com/herumi/mcl/MclJNI.java
  9. 5
      ffi/java/mcl_impl.hpp
  10. 224
      ffi/java/mcl_wrap.cxx

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class Fp { public class Fp {
private transient long swigCPtr; private transient long swigCPtr;

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class Fr { public class Fr {
private transient long swigCPtr; private transient long swigCPtr;

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class G1 { public class G1 {
private transient long swigCPtr; private transient long swigCPtr;

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class G2 { public class G2 {
private transient long swigCPtr; private transient long swigCPtr;

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class GT { public class GT {
private transient long swigCPtr; private transient long swigCPtr;

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class Mcl implements MclConstants { public class Mcl implements MclConstants {
public static void SystemInit(int curveType) { public static void SystemInit(int curveType) {
@ -113,4 +112,8 @@ public class Mcl implements MclConstants {
MclJNI.mul__SWIG_4(GT.getCPtr(z), z, GT.getCPtr(x), x, GT.getCPtr(y), y); MclJNI.mul__SWIG_4(GT.getCPtr(z), z, GT.getCPtr(x), x, GT.getCPtr(y), y);
} }
public static void inv(GT y, GT x) {
MclJNI.inv(GT.getCPtr(y), y, GT.getCPtr(x), x);
}
} }

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public interface MclConstants { public interface MclConstants {
public final static int BN254 = 0; public final static int BN254 = 0;

@ -1,12 +1,11 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* Do not make changes to this file unless you know what you are doing--modify * Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead. * the SWIG interface file instead.
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
package com.herumi.mcl;
public class MclJNI { public class MclJNI {
public final static native void SystemInit(int jarg1); public final static native void SystemInit(int jarg1);
@ -93,6 +92,7 @@ public class MclJNI {
public final static native byte[] G2_serialize(long jarg1, G2 jarg1_); public final static native byte[] G2_serialize(long jarg1, G2 jarg1_);
public final static native void delete_G2(long jarg1); public final static native void delete_G2(long jarg1);
public final static native void mul__SWIG_4(long jarg1, GT jarg1_, long jarg2, GT jarg2_, long jarg3, GT jarg3_); public final static native void mul__SWIG_4(long jarg1, GT jarg1_, long jarg2, GT jarg2_, long jarg3, GT jarg3_);
public final static native void inv(long jarg1, GT jarg1_, long jarg2, GT jarg2_);
public final static native long new_GT__SWIG_0(); public final static native long new_GT__SWIG_0();
public final static native long new_GT__SWIG_1(long jarg1, GT jarg1_); public final static native long new_GT__SWIG_1(long jarg1, GT jarg1_);
public final static native boolean GT_equals(long jarg1, GT jarg1_, long jarg2, GT jarg2_); public final static native boolean GT_equals(long jarg1, GT jarg1_, long jarg2, GT jarg2_);

@ -335,6 +335,7 @@ void mul(G2& z, const G2& x, const Fr& y)
class GT { class GT {
mcl::bn::Fp12 self_; mcl::bn::Fp12 self_;
friend void mul(GT& z, const GT& x, const GT& y); friend void mul(GT& z, const GT& x, const GT& y);
friend void inv(GT& y, GT& x);
friend void pow(GT& z, const GT& x, const Fr& y); friend void pow(GT& z, const GT& x, const Fr& y);
friend void pairing(GT& e, const G1& P, const G2& Q); friend void pairing(GT& e, const G1& P, const G2& Q);
public: public:
@ -367,6 +368,10 @@ void mul(GT& z, const GT& x, const GT& y)
{ {
mcl::bn::Fp12::mul(z.self_, x.self_, y.self_); mcl::bn::Fp12::mul(z.self_, x.self_, y.self_);
} }
void inv(GT& y, GT& x)
{
mcl::bn::inv(y.self_, x.self_);
}
void pow(GT& z, const GT& x, const Fr& y) void pow(GT& z, const GT& x, const Fr& y)
{ {
mcl::bn::Fp12::pow(z.self_, x.self_, y.self_); mcl::bn::Fp12::pow(z.self_, x.self_, y.self_);

@ -1,6 +1,6 @@
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org). * This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0 * Version 4.0.2
* *
* This file is not intended to be easily readable and contains a number of * This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make * coding conventions designed to improve portability and efficiency. Do not make
@ -182,15 +182,16 @@ template <typename T> T SwigValueInit() {
/* Support for throwing Java exceptions */ /* Support for throwing Java exceptions */
typedef enum { typedef enum {
SWIG_JavaOutOfMemoryError = 1, SWIG_JavaOutOfMemoryError = 1,
SWIG_JavaIOException, SWIG_JavaIOException,
SWIG_JavaRuntimeException, SWIG_JavaRuntimeException,
SWIG_JavaIndexOutOfBoundsException, SWIG_JavaIndexOutOfBoundsException,
SWIG_JavaArithmeticException, SWIG_JavaArithmeticException,
SWIG_JavaIllegalArgumentException, SWIG_JavaIllegalArgumentException,
SWIG_JavaNullPointerException, SWIG_JavaNullPointerException,
SWIG_JavaDirectorPureVirtual, SWIG_JavaDirectorPureVirtual,
SWIG_JavaUnknownError SWIG_JavaUnknownError,
SWIG_JavaIllegalStateException,
} SWIG_JavaExceptionCodes; } SWIG_JavaExceptionCodes;
typedef struct { typedef struct {
@ -211,6 +212,7 @@ static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionC
{ SWIG_JavaNullPointerException, "java/lang/NullPointerException" }, { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
{ SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" }, { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
{ SWIG_JavaUnknownError, "java/lang/UnknownError" }, { SWIG_JavaUnknownError, "java/lang/UnknownError" },
{ SWIG_JavaIllegalStateException, "java/lang/IllegalStateException" },
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
}; };
const SWIG_JavaExceptions_t *except_ptr = java_exceptions; const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
@ -247,7 +249,7 @@ static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionC
extern "C" { extern "C" {
#endif #endif
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_SystemInit(JNIEnv *jenv, jclass jcls, jint jarg1) { SWIGEXPORT void JNICALL Java_MclJNI_SystemInit(JNIEnv *jenv, jclass jcls, jint jarg1) {
int arg1 ; int arg1 ;
(void)jenv; (void)jenv;
@ -262,7 +264,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_SystemInit(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT void JNICALL Java_MclJNI_neg_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
Fr *arg1 = 0 ; Fr *arg1 = 0 ;
Fr *arg2 = 0 ; Fr *arg2 = 0 ;
@ -284,7 +286,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_10(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_add_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fr *arg1 = 0 ; Fr *arg1 = 0 ;
Fr *arg2 = 0 ; Fr *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -313,7 +315,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_10(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_sub_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fr *arg1 = 0 ; Fr *arg1 = 0 ;
Fr *arg2 = 0 ; Fr *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -342,7 +344,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_10(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_mul_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fr *arg1 = 0 ; Fr *arg1 = 0 ;
Fr *arg2 = 0 ; Fr *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -371,7 +373,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_10(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_mul_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -400,7 +402,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_11(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_mul_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
G2 *arg2 = 0 ; G2 *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -429,7 +431,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_12(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_div_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_div_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fr *arg1 = 0 ; Fr *arg1 = 0 ;
Fr *arg2 = 0 ; Fr *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -458,7 +460,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_div_1_1SWIG_10(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_pow(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_pow(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
GT *arg1 = 0 ; GT *arg1 = 0 ;
GT *arg2 = 0 ; GT *arg2 = 0 ;
Fr *arg3 = 0 ; Fr *arg3 = 0 ;
@ -487,7 +489,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_pow(JNIEnv *jenv, jclass jcls
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fr_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ; jlong jresult = 0 ;
Fr *result = 0 ; Fr *result = 0 ;
@ -499,7 +501,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_10(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ; jlong jresult = 0 ;
Fr *arg1 = 0 ; Fr *arg1 = 0 ;
Fr *result = 0 ; Fr *result = 0 ;
@ -518,7 +520,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_11(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fr_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1) {
jlong jresult = 0 ; jlong jresult = 0 ;
int arg1 ; int arg1 ;
Fr *result = 0 ; Fr *result = 0 ;
@ -532,7 +534,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_12(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fr_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
jlong jresult = 0 ; jlong jresult = 0 ;
std::string *arg1 = 0 ; std::string *arg1 = 0 ;
int arg2 ; int arg2 ;
@ -561,7 +563,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_13(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jstring jarg1) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fr_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jstring jarg1) {
jlong jresult = 0 ; jlong jresult = 0 ;
std::string *arg1 = 0 ; std::string *arg1 = 0 ;
Fr *result = 0 ; Fr *result = 0 ;
@ -588,7 +590,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fr_1_1SWIG_14(JNIEnv *j
} }
SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_Fr_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT jboolean JNICALL Java_MclJNI_Fr_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ; jboolean jresult = 0 ;
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
Fr *arg2 = 0 ; Fr *arg2 = 0 ;
@ -610,7 +612,7 @@ SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_Fr_1equals(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) { SWIGEXPORT void JNICALL Java_MclJNI_Fr_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
int arg3 ; int arg3 ;
@ -638,7 +640,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setStr_1_1SWIG_10(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_Fr_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -664,7 +666,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setStr_1_1SWIG_11(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_Fr_1setInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
int arg2 ; int arg2 ;
@ -677,7 +679,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setInt(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_Fr_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
(void)jenv; (void)jenv;
@ -688,7 +690,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1clear(JNIEnv *jenv, jclas
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setByCSPRNG(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_Fr_1setByCSPRNG(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
(void)jenv; (void)jenv;
@ -699,7 +701,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1setByCSPRNG(JNIEnv *jenv,
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fr_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT jstring JNICALL Java_MclJNI_Fr_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jstring jresult = 0 ; jstring jresult = 0 ;
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
int arg2 ; int arg2 ;
@ -721,7 +723,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fr_1toString_1_1SWIG_10(JN
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fr_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jstring JNICALL Java_MclJNI_Fr_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ; jstring jresult = 0 ;
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
std::string result; std::string result;
@ -741,7 +743,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fr_1toString_1_1SWIG_11(JN
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_Fr_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -772,7 +774,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fr_1deserialize(JNIEnv *jenv,
} }
SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_Fr_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jbyteArray JNICALL Java_MclJNI_Fr_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbyteArray jresult = 0 ; jbyteArray jresult = 0 ;
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -797,7 +799,7 @@ SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_Fr_1serialize(JNIEnv *j
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1Fr(JNIEnv *jenv, jclass jcls, jlong jarg1) { SWIGEXPORT void JNICALL Java_MclJNI_delete_1Fr(JNIEnv *jenv, jclass jcls, jlong jarg1) {
Fr *arg1 = (Fr *) 0 ; Fr *arg1 = (Fr *) 0 ;
(void)jenv; (void)jenv;
@ -807,7 +809,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1Fr(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT void JNICALL Java_MclJNI_neg_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
@ -829,7 +831,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_11(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_add_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
Fp *arg3 = 0 ; Fp *arg3 = 0 ;
@ -858,7 +860,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_11(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_sub_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
Fp *arg3 = 0 ; Fp *arg3 = 0 ;
@ -887,7 +889,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_11(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_mul_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
Fp *arg3 = 0 ; Fp *arg3 = 0 ;
@ -916,7 +918,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_13(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_div_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_div_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
Fp *arg3 = 0 ; Fp *arg3 = 0 ;
@ -945,7 +947,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_div_1_1SWIG_11(JNIEnv *jenv,
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fp_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ; jlong jresult = 0 ;
Fp *result = 0 ; Fp *result = 0 ;
@ -957,7 +959,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_10(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fp_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ; jlong jresult = 0 ;
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *result = 0 ; Fp *result = 0 ;
@ -976,7 +978,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_11(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fp_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jint jarg1) {
jlong jresult = 0 ; jlong jresult = 0 ;
int arg1 ; int arg1 ;
Fp *result = 0 ; Fp *result = 0 ;
@ -990,7 +992,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_12(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fp_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jstring jarg1, jint jarg2) {
jlong jresult = 0 ; jlong jresult = 0 ;
std::string *arg1 = 0 ; std::string *arg1 = 0 ;
int arg2 ; int arg2 ;
@ -1019,7 +1021,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_13(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jstring jarg1) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1Fp_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jstring jarg1) {
jlong jresult = 0 ; jlong jresult = 0 ;
std::string *arg1 = 0 ; std::string *arg1 = 0 ;
Fp *result = 0 ; Fp *result = 0 ;
@ -1046,7 +1048,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1Fp_1_1SWIG_14(JNIEnv *j
} }
SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_Fp_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT jboolean JNICALL Java_MclJNI_Fp_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ; jboolean jresult = 0 ;
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
@ -1068,7 +1070,7 @@ SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_Fp_1equals(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) { SWIGEXPORT void JNICALL Java_MclJNI_Fp_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
int arg3 ; int arg3 ;
@ -1096,7 +1098,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setStr_1_1SWIG_10(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_Fp_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -1122,7 +1124,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setStr_1_1SWIG_11(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_Fp_1setInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
int arg2 ; int arg2 ;
@ -1135,7 +1137,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setInt(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_Fp_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
(void)jenv; (void)jenv;
@ -1146,7 +1148,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1clear(JNIEnv *jenv, jclas
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setByCSPRNG(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_Fp_1setByCSPRNG(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
(void)jenv; (void)jenv;
@ -1157,7 +1159,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1setByCSPRNG(JNIEnv *jenv,
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fp_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT jstring JNICALL Java_MclJNI_Fp_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jstring jresult = 0 ; jstring jresult = 0 ;
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
int arg2 ; int arg2 ;
@ -1179,7 +1181,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fp_1toString_1_1SWIG_10(JN
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fp_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jstring JNICALL Java_MclJNI_Fp_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ; jstring jresult = 0 ;
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
std::string result; std::string result;
@ -1199,7 +1201,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_Fp_1toString_1_1SWIG_11(JN
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_Fp_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -1230,7 +1232,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_Fp_1deserialize(JNIEnv *jenv,
} }
SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_Fp_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jbyteArray JNICALL Java_MclJNI_Fp_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbyteArray jresult = 0 ; jbyteArray jresult = 0 ;
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -1255,7 +1257,7 @@ SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_Fp_1serialize(JNIEnv *j
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1Fp(JNIEnv *jenv, jclass jcls, jlong jarg1) { SWIGEXPORT void JNICALL Java_MclJNI_delete_1Fp(JNIEnv *jenv, jclass jcls, jlong jarg1) {
Fp *arg1 = (Fp *) 0 ; Fp *arg1 = (Fp *) 0 ;
(void)jenv; (void)jenv;
@ -1265,7 +1267,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1Fp(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT void JNICALL Java_MclJNI_neg_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
@ -1287,7 +1289,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_12(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_dbl_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT void JNICALL Java_MclJNI_dbl_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
@ -1309,7 +1311,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_dbl_1_1SWIG_10(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_add_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
G1 *arg3 = 0 ; G1 *arg3 = 0 ;
@ -1338,7 +1340,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_12(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_sub_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
G1 *arg3 = 0 ; G1 *arg3 = 0 ;
@ -1367,7 +1369,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_12(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_pairing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_pairing(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
GT *arg1 = 0 ; GT *arg1 = 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
G2 *arg3 = 0 ; G2 *arg3 = 0 ;
@ -1396,7 +1398,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_pairing(JNIEnv *jenv, jclass
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_hashAndMapToG1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_hashAndMapToG1(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -1431,7 +1433,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_hashAndMapToG1(JNIEnv *jenv,
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G1_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1G1_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ; jlong jresult = 0 ;
G1 *result = 0 ; G1 *result = 0 ;
@ -1443,7 +1445,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G1_1_1SWIG_10(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G1_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1G1_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ; jlong jresult = 0 ;
G1 *arg1 = 0 ; G1 *arg1 = 0 ;
G1 *result = 0 ; G1 *result = 0 ;
@ -1462,7 +1464,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G1_1_1SWIG_11(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G1_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1G1_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jlong jresult = 0 ; jlong jresult = 0 ;
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
@ -1493,7 +1495,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G1_1_1SWIG_12(JNIEnv *j
} }
SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_G1_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT jboolean JNICALL Java_MclJNI_G1_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ; jboolean jresult = 0 ;
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
G1 *arg2 = 0 ; G1 *arg2 = 0 ;
@ -1515,7 +1517,7 @@ SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_G1_1equals(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_G1_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
Fp *arg3 = 0 ; Fp *arg3 = 0 ;
@ -1545,7 +1547,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1set(JNIEnv *jenv, jclass
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_G1_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
(void)jenv; (void)jenv;
@ -1556,7 +1558,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1clear(JNIEnv *jenv, jclas
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) { SWIGEXPORT void JNICALL Java_MclJNI_G1_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
int arg3 ; int arg3 ;
@ -1584,7 +1586,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1setStr_1_1SWIG_10(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_G1_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -1610,7 +1612,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1setStr_1_1SWIG_11(JNIEnv
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G1_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT jstring JNICALL Java_MclJNI_G1_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jstring jresult = 0 ; jstring jresult = 0 ;
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
int arg2 ; int arg2 ;
@ -1632,7 +1634,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G1_1toString_1_1SWIG_10(JN
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G1_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jstring JNICALL Java_MclJNI_G1_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ; jstring jresult = 0 ;
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
std::string result; std::string result;
@ -1652,7 +1654,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G1_1toString_1_1SWIG_11(JN
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_G1_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -1683,7 +1685,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G1_1deserialize(JNIEnv *jenv,
} }
SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_G1_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jbyteArray JNICALL Java_MclJNI_G1_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbyteArray jresult = 0 ; jbyteArray jresult = 0 ;
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -1708,7 +1710,7 @@ SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_G1_1serialize(JNIEnv *j
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1G1(JNIEnv *jenv, jclass jcls, jlong jarg1) { SWIGEXPORT void JNICALL Java_MclJNI_delete_1G1(JNIEnv *jenv, jclass jcls, jlong jarg1) {
G1 *arg1 = (G1 *) 0 ; G1 *arg1 = (G1 *) 0 ;
(void)jenv; (void)jenv;
@ -1718,7 +1720,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1G1(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT void JNICALL Java_MclJNI_neg_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
G2 *arg2 = 0 ; G2 *arg2 = 0 ;
@ -1740,7 +1742,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_neg_1_1SWIG_13(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_dbl_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT void JNICALL Java_MclJNI_dbl_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
G2 *arg2 = 0 ; G2 *arg2 = 0 ;
@ -1762,7 +1764,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_dbl_1_1SWIG_11(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_add_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
G2 *arg2 = 0 ; G2 *arg2 = 0 ;
G2 *arg3 = 0 ; G2 *arg3 = 0 ;
@ -1791,7 +1793,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_add_1_1SWIG_13(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_sub_1_1SWIG_13(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
G2 *arg2 = 0 ; G2 *arg2 = 0 ;
G2 *arg3 = 0 ; G2 *arg3 = 0 ;
@ -1820,7 +1822,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_sub_1_1SWIG_13(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_hashAndMapToG2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_hashAndMapToG2(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -1855,7 +1857,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_hashAndMapToG2(JNIEnv *jenv,
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1G2_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ; jlong jresult = 0 ;
G2 *result = 0 ; G2 *result = 0 ;
@ -1867,7 +1869,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G2_1_1SWIG_10(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1G2_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ; jlong jresult = 0 ;
G2 *arg1 = 0 ; G2 *arg1 = 0 ;
G2 *result = 0 ; G2 *result = 0 ;
@ -1886,7 +1888,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G2_1_1SWIG_11(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G2_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1G2_1_1SWIG_12(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_) {
jlong jresult = 0 ; jlong jresult = 0 ;
Fp *arg1 = 0 ; Fp *arg1 = 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
@ -1931,7 +1933,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1G2_1_1SWIG_12(JNIEnv *j
} }
SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_G2_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT jboolean JNICALL Java_MclJNI_G2_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ; jboolean jresult = 0 ;
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
G2 *arg2 = 0 ; G2 *arg2 = 0 ;
@ -1953,7 +1955,7 @@ SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_G2_1equals(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) { SWIGEXPORT void JNICALL Java_MclJNI_G2_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, jlong jarg4, jobject jarg4_, jlong jarg5, jobject jarg5_) {
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
Fp *arg2 = 0 ; Fp *arg2 = 0 ;
Fp *arg3 = 0 ; Fp *arg3 = 0 ;
@ -1997,7 +1999,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1set(JNIEnv *jenv, jclass
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_G2_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
(void)jenv; (void)jenv;
@ -2008,7 +2010,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1clear(JNIEnv *jenv, jclas
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) { SWIGEXPORT void JNICALL Java_MclJNI_G2_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
int arg3 ; int arg3 ;
@ -2036,7 +2038,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1setStr_1_1SWIG_10(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_G2_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -2062,7 +2064,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1setStr_1_1SWIG_11(JNIEnv
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G2_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT jstring JNICALL Java_MclJNI_G2_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jstring jresult = 0 ; jstring jresult = 0 ;
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
int arg2 ; int arg2 ;
@ -2084,7 +2086,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G2_1toString_1_1SWIG_10(JN
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G2_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jstring JNICALL Java_MclJNI_G2_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ; jstring jresult = 0 ;
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
std::string result; std::string result;
@ -2104,7 +2106,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_G2_1toString_1_1SWIG_11(JN
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_G2_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -2135,7 +2137,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_G2_1deserialize(JNIEnv *jenv,
} }
SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_G2_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jbyteArray JNICALL Java_MclJNI_G2_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbyteArray jresult = 0 ; jbyteArray jresult = 0 ;
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -2160,7 +2162,7 @@ SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_G2_1serialize(JNIEnv *j
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1G2(JNIEnv *jenv, jclass jcls, jlong jarg1) { SWIGEXPORT void JNICALL Java_MclJNI_delete_1G2(JNIEnv *jenv, jclass jcls, jlong jarg1) {
G2 *arg1 = (G2 *) 0 ; G2 *arg1 = (G2 *) 0 ;
(void)jenv; (void)jenv;
@ -2170,7 +2172,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1G2(JNIEnv *jenv, jcla
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) { SWIGEXPORT void JNICALL Java_MclJNI_mul_1_1SWIG_14(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_) {
GT *arg1 = 0 ; GT *arg1 = 0 ;
GT *arg2 = 0 ; GT *arg2 = 0 ;
GT *arg3 = 0 ; GT *arg3 = 0 ;
@ -2199,7 +2201,29 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_14(JNIEnv *jenv,
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1GT_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { SWIGEXPORT void JNICALL Java_MclJNI_inv(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
GT *arg1 = 0 ;
GT *arg2 = 0 ;
(void)jenv;
(void)jcls;
(void)jarg1_;
(void)jarg2_;
arg1 = *(GT **)&jarg1;
if (!arg1) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GT & reference is null");
return ;
}
arg2 = *(GT **)&jarg2;
if (!arg2) {
SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "GT & reference is null");
return ;
}
inv(*arg1,*arg2);
}
SWIGEXPORT jlong JNICALL Java_MclJNI_new_1GT_1_1SWIG_10(JNIEnv *jenv, jclass jcls) {
jlong jresult = 0 ; jlong jresult = 0 ;
GT *result = 0 ; GT *result = 0 ;
@ -2211,7 +2235,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1GT_1_1SWIG_10(JNIEnv *j
} }
SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1GT_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jlong JNICALL Java_MclJNI_new_1GT_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jlong jresult = 0 ; jlong jresult = 0 ;
GT *arg1 = 0 ; GT *arg1 = 0 ;
GT *result = 0 ; GT *result = 0 ;
@ -2230,7 +2254,7 @@ SWIGEXPORT jlong JNICALL Java_com_herumi_mcl_MclJNI_new_1GT_1_1SWIG_11(JNIEnv *j
} }
SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_GT_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) { SWIGEXPORT jboolean JNICALL Java_MclJNI_GT_1equals(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
jboolean jresult = 0 ; jboolean jresult = 0 ;
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
GT *arg2 = 0 ; GT *arg2 = 0 ;
@ -2252,7 +2276,7 @@ SWIGEXPORT jboolean JNICALL Java_com_herumi_mcl_MclJNI_GT_1equals(JNIEnv *jenv,
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT void JNICALL Java_MclJNI_GT_1clear(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
(void)jenv; (void)jenv;
@ -2263,7 +2287,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1clear(JNIEnv *jenv, jclas
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) { SWIGEXPORT void JNICALL Java_MclJNI_GT_1setStr_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) {
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
int arg3 ; int arg3 ;
@ -2291,7 +2315,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1setStr_1_1SWIG_10(JNIEnv
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_GT_1setStr_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -2317,7 +2341,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1setStr_1_1SWIG_11(JNIEnv
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_GT_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) { SWIGEXPORT jstring JNICALL Java_MclJNI_GT_1toString_1_1SWIG_10(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
jstring jresult = 0 ; jstring jresult = 0 ;
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
int arg2 ; int arg2 ;
@ -2339,7 +2363,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_GT_1toString_1_1SWIG_10(JN
} }
SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_GT_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jstring JNICALL Java_MclJNI_GT_1toString_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jstring jresult = 0 ; jstring jresult = 0 ;
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
std::string result; std::string result;
@ -2359,7 +2383,7 @@ SWIGEXPORT jstring JNICALL Java_com_herumi_mcl_MclJNI_GT_1toString_1_1SWIG_11(JN
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) { SWIGEXPORT void JNICALL Java_MclJNI_GT_1deserialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jbyteArray jarg2) {
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
char *arg2 = (char *) 0 ; char *arg2 = (char *) 0 ;
size_t arg3 ; size_t arg3 ;
@ -2390,7 +2414,7 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_GT_1deserialize(JNIEnv *jenv,
} }
SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_GT_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) { SWIGEXPORT jbyteArray JNICALL Java_MclJNI_GT_1serialize(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
jbyteArray jresult = 0 ; jbyteArray jresult = 0 ;
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
std::string *arg2 = 0 ; std::string *arg2 = 0 ;
@ -2415,7 +2439,7 @@ SWIGEXPORT jbyteArray JNICALL Java_com_herumi_mcl_MclJNI_GT_1serialize(JNIEnv *j
} }
SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_delete_1GT(JNIEnv *jenv, jclass jcls, jlong jarg1) { SWIGEXPORT void JNICALL Java_MclJNI_delete_1GT(JNIEnv *jenv, jclass jcls, jlong jarg1) {
GT *arg1 = (GT *) 0 ; GT *arg1 = (GT *) 0 ;
(void)jenv; (void)jenv;

Loading…
Cancel
Save