aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/GlueGen.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-04 11:13:33 +0200
committerSven Gothel <[email protected]>2023-08-04 11:13:33 +0200
commit3ad38748d7ef50a3631506eabcd3ae3417faa84d (patch)
treefac3ea1f1ff1a68c90df0076088908e196908489 /src/java/com/jogamp/gluegen/GlueGen.java
parent1250d960d8bf2ee9ab8726a18a837115d6930815 (diff)
JavaCallbackEmitter.emitJavaKeyClass(): Use directBufferAddress for compound types in equals and hashCode, i.e. use memory identitypulled
Use case is having a compound-type as userParam, which also acts as key, see MessageCallback13, Test4JavaCallback.chapter13(). The Java compound instance is re-created using the actual identical native memory (address), which has been stored or passed in the native toolkit.
Diffstat (limited to 'src/java/com/jogamp/gluegen/GlueGen.java')
0 files changed, 0 insertions, 0 deletions