diff options
Diffstat (limited to 'src/junit')
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg | 2 | ||||
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/test1.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg b/src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg index 7210940..59dc083 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/test1-common.cfg @@ -36,6 +36,8 @@ Opaque long XID # For 'struct _AnonBlob2*', we need to drop 'struct' Opaque long _AnonBlob2* +Opaque long ShortBlob.Cool + CustomCCode #include "test1.h" Opaque long TK_Context diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h b/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h index 8bc7208..a8c125d 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/test1.h @@ -59,9 +59,12 @@ typedef enum { MI=1, MU, MO } Momo; // typedef enum { MI=1, MU=3, MO } Momo; // Duplicate w/ diff value ERROR // typedef enum { MI=1, MU, MO, MERR } Momo; // Duplicate w/ diff value ERROR +struct _Crazy; + typedef struct _ShortBlob { uint8_t b1; uint8_t b2; + struct _Crazy * Cool; // Opaque field! } ShortBlob, ShortBlob2, *LPShortBlob1; // Aliased to 'ShortBlob' typedef ShortBlob2 * LPShortBlob2; // Aliased to 'ShortBlob' typedef ShortBlob * LPShortBlob3; // Aliased to 'ShortBlob' |