From c3b2a86bb9051d6f03c3f104eff2dbe6cefc1803 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 10 Mar 2015 17:27:50 +0100 Subject: Bug 1144 - Add 'DelegateImplementation': Sort JavaMethodBindingEmitter argument list; forImplementingMethodCall -> isNativeMethod --- src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java | 2 +- .../gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/java/com/jogamp/gluegen/procaddress') diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java index 51e47e9..6418a53 100644 --- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java +++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressEmitter.java @@ -221,7 +221,7 @@ public class ProcAddressEmitter extends JavaEmitter { final ProcAddressJavaMethodBindingEmitter emitter = new ProcAddressJavaMethodBindingEmitter(baseJavaEmitter, callThroughProcAddress, getProcAddressConfig().getProcAddressTableExpr(), - baseJavaEmitter.isForImplementingMethodCall(), + baseJavaEmitter.isForNativeMethod(), this); if( needsJavaWrapper ) { emitter.setEmitBody(true); diff --git a/src/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java index a70c18d..f3cc8e9 100644 --- a/src/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java +++ b/src/java/com/jogamp/gluegen/procaddress/ProcAddressJavaMethodBindingEmitter.java @@ -106,8 +106,8 @@ public class ProcAddressJavaMethodBindingEmitter extends JavaMethodBindingEmitte } @Override - protected String getImplMethodName() { - final String name = super.getImplMethodName(); + protected String getNativeMethodName() { + final String name = super.getNativeMethodName(); if (callThroughProcAddress) { return ProcAddressEmitter.WRAP_PREFIX + name; } -- cgit v1.2.3