aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-05 02:24:17 +0200
committerSven Gothel <[email protected]>2023-08-05 02:24:17 +0200
commitf0da1ec6f5ac68de4c1ede1fd54a71b656fe5d75 (patch)
treef5cb81312f70a5ca71647c94e4919330250a0f77 /src/java
parent2e8b69496221f242fee762140418008a9a862d3d (diff)
JavaConfiguration.requiresJavaCallbackCode() shall return true for all JavaCallback cases no just non-userParam case
Additional body code for JavaCallback is required for methods it.
Diffstat (limited to 'src/java')
-rw-r--r--src/java/com/jogamp/gluegen/JavaConfiguration.java2
1 files changed, 1 insertions, 1 deletions
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;
}
}