diff options
author | Wade Walker <[email protected]> | 2018-12-26 11:04:16 -0600 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-16 23:58:53 +0200 |
commit | 93121714758f89a394993f0740c6929f48fb887b (patch) | |
tree | 695ad902e210de1efe6d4813f6239e2aa4dadc20 /src/junit/com/jogamp/gluegen/test | |
parent | 3ae05eacc091282f009792e2b06505efe96cca7d (diff) |
Fixed CStruct annotation processor to not use dummy Java variable types
When annotations were placed on dummy Java variables, the annotation
processor was emitting a RenameJavaType directive into the gluegen
config file that caused the emitted file to be named boolean.java
instead of RenderingConfig.java or Pixel.java. Turned off this behavior
when jname is given in the @CStruct annotation. I'm uncertain how much
this processor is even used, since I can't find any occurrences of
@CStruct outside the test code for it in gluegen.
Diffstat (limited to 'src/junit/com/jogamp/gluegen/test')
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/structgen/package-info.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/structgen/package-info.java b/src/junit/com/jogamp/gluegen/test/junit/structgen/package-info.java index d009c5f..5f211c4 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/structgen/package-info.java +++ b/src/junit/com/jogamp/gluegen/test/junit/structgen/package-info.java @@ -7,7 +7,7 @@ * </p> * @see BuildStruct01 */ -@CStructs({@CStruct(name="RenderingConfig", header="TestStruct01.h"), @CStruct(name="Pixel", header="TestStruct02.h")}) +@CStructs({@CStruct(name="RenderingConfig", jname="RenderingConfig", header="TestStruct01.h"), @CStruct(name="Pixel", jname="Pixel", header="TestStruct02.h")}) package com.jogamp.gluegen.test.junit.structgen; import com.jogamp.gluegen.structgen.CStructs; |