Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-09-12 10:09:23 -0400
committerSilenio Quarti2013-09-12 10:09:23 -0400
commit6350427271e30cbd3731a00deddf1a1c7533abaf (patch)
tree1fe7c7d91978873e7fe2b8431f606e6604e72e15
parent57f54ba3e44bde1e1656f85583edada43a4b7a80 (diff)
downloadeclipse.platform.swt-6350427271e30cbd3731a00deddf1a1c7533abaf.tar.gz
eclipse.platform.swt-6350427271e30cbd3731a00deddf1a1c7533abaf.tar.xz
eclipse.platform.swt-6350427271e30cbd3731a00deddf1a1c7533abaf.zip
fix gdip_custom.cpp when compiling with NATIVE_STATS
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp
index 8d23183690..3901d2d94b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_custom.cpp
@@ -134,7 +134,11 @@ JNIEXPORT jint JNICALL Gdip_NATIVE(Matrix_1TransformPoints__I_3FI)
PointF *points=NULL;
jfloat *lparg1=NULL;
jint rc = 0;
+#ifdef JNI64
+ Gdip_NATIVE_ENTER(env, that, Matrix_1TransformPoints__J_3FI_FUNC);
+#else
Gdip_NATIVE_ENTER(env, that, Matrix_1TransformPoints__I_3FI_FUNC);
+#endif
if (arg1) if ((lparg1 = env->GetFloatArrayElements(arg1, NULL)) == NULL) goto fail;
if (lparg1) {
points = new PointF[arg2];

Back to the top