|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
|
* 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 |
|
|
|
|
* 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 */ |
|
|
|
|
typedef enum { |
|
|
|
|
SWIG_JavaOutOfMemoryError = 1,
|
|
|
|
|
SWIG_JavaIOException,
|
|
|
|
|
SWIG_JavaRuntimeException,
|
|
|
|
|
SWIG_JavaOutOfMemoryError = 1, |
|
|
|
|
SWIG_JavaIOException, |
|
|
|
|
SWIG_JavaRuntimeException, |
|
|
|
|
SWIG_JavaIndexOutOfBoundsException, |
|
|
|
|
SWIG_JavaArithmeticException, |
|
|
|
|
SWIG_JavaIllegalArgumentException, |
|
|
|
|
SWIG_JavaNullPointerException, |
|
|
|
|
SWIG_JavaDirectorPureVirtual, |
|
|
|
|
SWIG_JavaUnknownError |
|
|
|
|
SWIG_JavaUnknownError, |
|
|
|
|
SWIG_JavaIllegalStateException, |
|
|
|
|
} SWIG_JavaExceptionCodes; |
|
|
|
|
|
|
|
|
|
typedef struct { |
|
|
|
@ -211,6 +212,7 @@ static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionC |
|
|
|
|
{ SWIG_JavaNullPointerException, "java/lang/NullPointerException" }, |
|
|
|
|
{ SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" }, |
|
|
|
|
{ SWIG_JavaUnknownError, "java/lang/UnknownError" }, |
|
|
|
|
{ SWIG_JavaIllegalStateException, "java/lang/IllegalStateException" }, |
|
|
|
|
{ (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" } |
|
|
|
|
}; |
|
|
|
|
const SWIG_JavaExceptions_t *except_ptr = java_exceptions; |
|
|
|
@ -2199,6 +2201,28 @@ SWIGEXPORT void JNICALL Java_com_herumi_mcl_MclJNI_mul_1_1SWIG_14(JNIEnv *jenv, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SWIGEXPORT void JNICALL Java_com_herumi_mcl_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_com_herumi_mcl_MclJNI_new_1GT_1_1SWIG_10(JNIEnv *jenv, jclass jcls) { |
|
|
|
|
jlong jresult = 0 ; |
|
|
|
|
GT *result = 0 ; |
|
|
|
|