summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/CustomCompress.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-06-23 06:31:56 +0200
committerSven Gothel <[email protected]>2023-06-23 06:31:56 +0200
commit9e61409658358834c2ba26c69c3efcbb5755c128 (patch)
tree4fec6e32d6f7b5a11a7a46e2dde0a3de6495f56c /src/java/com/jogamp/common/util/CustomCompress.java
parentf90a42bd693ab9d451902e69ad86359fae2510dc (diff)
GlueGen: Type: Have get{Base,Target}Type() stop at isFunctionPointer(), enhance API doc; Add getArrayBaseOrPointerTargetType() and getTargetFunction()
Added getArrayBaseOrPointerTargetType() returns getBaseType() for arrays or getTargetType() for pointer, i.e. stops traversing if an elementType is a pointer and returns the elementType as target-type. This resolves 'int* intPtrArray[10]', but also simplifies all cases of 'int** intPtrPtr' and 'int intPtr[10]' etc. Since get{Base,Target}Type() returns the functionPointer, getTargetFunction() allows to retrieve the actual target function type.
Diffstat (limited to 'src/java/com/jogamp/common/util/CustomCompress.java')
0 files changed, 0 insertions, 0 deletions