aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/FunctionEmitter.java
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2023-08-03 23:35:49 +0200
committerSven Gothel <sgothel@jausoft.com>2023-08-03 23:35:49 +0200
commita51c63b8b054eec3393d4c340cf3cefe561a01b1 (patch)
tree79211397999187811a22ac4c9b5e3039a751a1ef /src/java/com/jogamp/gluegen/FunctionEmitter.java
parent711533cef82cab317662e84f1d1719bdbeca4253 (diff)
JavaCallbackEmitter.{emitCSetFuncPreCall, emitCAdditionalCode, emitJavaCallbackBodyPassJavaArguments}(): Fix exclusion of ad-hoc compound conversion for userParam
Passed CMethodBindingEmitter denotes the callback-function, including the binding. The new iteration to handle the ad-hoc compound conversion, introduced in commit ad69716fda64b517c33ed847c4b215ea398aac99 'callback without userData', iterates over the callback-function argument list. Hence it shall only exclude the ad-hoc compound conversion if index != info.cbFuncUserParamIdx. Dropping the addition exclusion 'i != info.setFuncUserParamIdx'.
Diffstat (limited to 'src/java/com/jogamp/gluegen/FunctionEmitter.java')
0 files changed, 0 insertions, 0 deletions