proj/proj-4.8.0-add-missing-header.patch

140 lines
3.3 KiB
Diff

diff -Nru proj-4.8.0.orig/src/org_proj4_PJ.h proj-4.8.0/src/org_proj4_PJ.h
--- proj-4.8.0.orig/src/org_proj4_PJ.h 1970-01-01 01:00:00.000000000 +0100
+++ proj-4.8.0/src/org_proj4_PJ.h 2012-11-13 12:31:56.152399854 +0100
@@ -0,0 +1,135 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_proj4_PJ */
+
+#ifndef _Included_org_proj4_PJ
+#define _Included_org_proj4_PJ
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef org_proj4_PJ_DIMENSION_MAX
+#define org_proj4_PJ_DIMENSION_MAX 100L
+/*
+ * Class: org_proj4_PJ
+ * Method: allocatePJ
+ * Signature: (Ljava/lang/String;)J
+ */
+JNIEXPORT jlong JNICALL Java_org_proj4_PJ_allocatePJ
+ (JNIEnv *, jclass, jstring);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: allocateGeoPJ
+ * Signature: (Lorg/proj4/PJ;)J
+ */
+JNIEXPORT jlong JNICALL Java_org_proj4_PJ_allocateGeoPJ
+ (JNIEnv *, jclass, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getVersion
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_org_proj4_PJ_getVersion
+ (JNIEnv *, jclass);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getDefinition
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_org_proj4_PJ_getDefinition
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getType
+ * Signature: ()Lorg/proj4/PJ$Type;
+ */
+JNIEXPORT jobject JNICALL Java_org_proj4_PJ_getType
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getSemiMajorAxis
+ * Signature: ()D
+ */
+JNIEXPORT jdouble JNICALL Java_org_proj4_PJ_getSemiMajorAxis
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getSemiMinorAxis
+ * Signature: ()D
+ */
+JNIEXPORT jdouble JNICALL Java_org_proj4_PJ_getSemiMinorAxis
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getEccentricitySquared
+ * Signature: ()D
+ */
+JNIEXPORT jdouble JNICALL Java_org_proj4_PJ_getEccentricitySquared
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getAxisDirections
+ * Signature: ()[C
+ */
+JNIEXPORT jcharArray JNICALL Java_org_proj4_PJ_getAxisDirections
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getGreenwichLongitude
+ * Signature: ()D
+ */
+JNIEXPORT jdouble JNICALL Java_org_proj4_PJ_getGreenwichLongitude
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getLinearUnitToMetre
+ * Signature: (Z)D
+ */
+JNIEXPORT jdouble JNICALL Java_org_proj4_PJ_getLinearUnitToMetre
+ (JNIEnv *, jobject, jboolean);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: transform
+ * Signature: (Lorg/proj4/PJ;I[DII)V
+ */
+JNIEXPORT void JNICALL Java_org_proj4_PJ_transform
+ (JNIEnv *, jobject, jobject, jint, jdoubleArray, jint, jint);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: getLastError
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_org_proj4_PJ_getLastError
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: toString
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_org_proj4_PJ_toString
+ (JNIEnv *, jobject);
+
+/*
+ * Class: org_proj4_PJ
+ * Method: finalize
+ * Signature: ()V
+ */
+JNIEXPORT void JNICALL Java_org_proj4_PJ_finalize
+ (JNIEnv *, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+#endif