diff options
author | Silenio Quarti <silenio> | 2004-02-29 08:07:53 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2004-02-29 08:07:53 +0000 |
commit | 332a892f9283f5e8e58c01a6294013466c9ce924 (patch) | |
tree | 29054ff73af2f381fca1df5593419fdb89692067 /bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java | |
parent | 81954812dbcfdc38385fc50d81091df34fbe46c4 (diff) | |
download | eclipse.platform.swt-332a892f9283f5e8e58c01a6294013466c9ce924.tar.gz eclipse.platform.swt-332a892f9283f5e8e58c01a6294013466c9ce924.tar.xz eclipse.platform.swt-332a892f9283f5e8e58c01a6294013466c9ce924.zip |
vtable call
Diffstat (limited to 'bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java')
-rw-r--r-- | bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java | 5 |
1 files changed, 5 insertions, 0 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 ca7aabc340..a18572f19f 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 @@ -467,6 +467,11 @@ void generateFunctionCall(Method method, MethodData methodData, Class[] paramTyp } output("arg0)"); paramStart = 1; + } else if (method.getName().equals("VtblCall")) { + output("(("); + output(getTypeSignature2(returnType)); + output(" (STDMETHODCALLTYPE *)())(*(int **)arg1)[arg0])"); + paramStart = 1; } else { output(method.getName()); } |