diff options
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java b/src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java index 91a0a5a..f4cd15f 100644 --- a/src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java +++ b/src/java/com/jogamp/gluegen/cgram/types/FunctionSymbol.java @@ -65,15 +65,14 @@ public class FunctionSymbol extends AliasedSymbolImpl implements AliasedSemantic private final ASTLocusTag astLocus; public FunctionSymbol(final String name, final FunctionType type) { - super(name); - this.type = type; - this.astLocus = null; + this(name, type, null); } public FunctionSymbol(final String name, final FunctionType type, final ASTLocusTag locus) { super(name); this.type = type; this.astLocus = locus; + addAliasedName( type.getCName() ); // be reachable via typename } /** Shallow'ish copy, only aliased names are re-created. */ |