From 829d69ca42d2022790b136a5f689c34919a7c775 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 23 Jun 2023 06:34:46 +0200 Subject: GlueGen: JavaConfiguration.promoteTypeInfo(): Fix primitive pointerDepth, i.e. only pass numPointersStripped w/o adding info.pointerDepth() --- src/java/com/jogamp/gluegen/JavaConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/com/jogamp') 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) { -- cgit v1.2.3