diff options
author | Sven Gothel <[email protected]> | 2023-06-23 06:34:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-23 06:34:46 +0200 |
commit | 829d69ca42d2022790b136a5f689c34919a7c775 (patch) | |
tree | 17cacf616e8658ddf8ff51d89727f118ff72fddc | |
parent | 10842e888d1367475019f33bc651671453b31bd2 (diff) |
GlueGen: JavaConfiguration.promoteTypeInfo(): Fix primitive pointerDepth, i.e. only pass numPointersStripped w/o adding info.pointerDepth()
-rw-r--r-- | src/java/com/jogamp/gluegen/JavaConfiguration.java | 2 |
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 a6f2b6f..7208e97 100644 --- a/src/java/com/jogamp/gluegen/JavaConfiguration.java +++ b/src/java/com/jogamp/gluegen/JavaConfiguration.java @@ -497,7 +497,7 @@ public class JavaConfiguration { else if (c == Double.TYPE) jt = JavaType.createForCDoublePointer(); if (jt != null) - return new TypeInfo(info.name(), pd + numPointersStripped, jt); + return new TypeInfo(info.name(), numPointersStripped, jt); } while (diff > 0) { |