Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Cornu2004-11-23 17:14:19 +0000
committerChristophe Cornu2004-11-23 17:14:19 +0000
commita76f98786ded6e163fcbf233d1c2e903353b3e97 (patch)
tree9fcb6d756562cc318b053ffe26946a37362dcb3d /bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt
parentebfd059ad3aeefc603063140f789c339b0fde311 (diff)
downloadeclipse.platform.swt-a76f98786ded6e163fcbf233d1c2e903353b3e97.tar.gz
eclipse.platform.swt-a76f98786ded6e163fcbf233d1c2e903353b3e97.tar.xz
eclipse.platform.swt-a76f98786ded6e163fcbf233d1c2e903353b3e97.zip
64 bit
Diffstat (limited to 'bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt')
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
index d4351dca2a..2f665bc4c2 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
@@ -594,7 +594,9 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp
Class paramType = paramTypes[i];
output(getTypeSignature4(paramType));
}
- output("))(*(int **)arg1)[arg0])");
+ output("))(*(");
+ output(getTypeSignature4(paramTypes[1]));
+ output(" **)arg1)[arg0])");
paramStart = 1;
} else if (methodData.getFlag("cpp")) {
output("(");

Back to the top