From f0da1ec6f5ac68de4c1ede1fd54a71b656fe5d75 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 5 Aug 2023 02:24:17 +0200 Subject: JavaConfiguration.requiresJavaCallbackCode() shall return true for all JavaCallback cases no just non-userParam case Additional body code for JavaCallback is required for methods it. --- src/java/com/jogamp/gluegen/JavaConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/com/jogamp/gluegen/JavaConfiguration.java') diff --git a/src/java/com/jogamp/gluegen/JavaConfiguration.java b/src/java/com/jogamp/gluegen/JavaConfiguration.java index 82019f1..bc78b48 100644 --- a/src/java/com/jogamp/gluegen/JavaConfiguration.java +++ b/src/java/com/jogamp/gluegen/JavaConfiguration.java @@ -2531,7 +2531,7 @@ public class JavaConfiguration { /** Returns true if a method binding requires specific java callback code */ final boolean requiresJavaCallbackCode(final String bindingName) { final JavaCallbackInfo jcbi = setFuncToJavaCallbackMap.get(bindingName); - return null != jcbi && !jcbi.cbUserParamIsDefined; + return null != jcbi; } } -- cgit v1.2.3