diff options
author | Sven Gothel <[email protected]> | 2023-06-20 20:31:02 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-20 20:31:02 +0200 |
commit | 3d6003fcada35d91c0d865ad0f4edb1da3ed8b8d (patch) | |
tree | 2a52d5104cc430a5c9d752939f117c28ece58c21 | |
parent | 65e9c14e1566d5bfa88435d460c699c2a8fd23b7 (diff) |
GlueGen junit test2.h: Add an anonymous struct pointer w/ opaque long config
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/test2.cfg | 1 | ||||
-rw-r--r-- | src/junit/com/jogamp/gluegen/test/junit/generation/test2.h | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/test2.cfg b/src/junit/com/jogamp/gluegen/test/junit/generation/test2.cfg index 4ca9ae5..7c31341 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/test2.cfg +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/test2.cfg @@ -20,6 +20,7 @@ ForceProcAddressGen __ALL__ # LocalProcAddressCallingConvention __ALL__ MYAPIENTRY Opaque long void* +Opaque long T2_Anonymous* EmitStruct T2_ThreadAffinity StructPackage T2_ThreadAffinity com.jogamp.gluegen.test.junit.generation diff --git a/src/junit/com/jogamp/gluegen/test/junit/generation/test2.h b/src/junit/com/jogamp/gluegen/test/junit/generation/test2.h index cf0808d..0817dd9 100644 --- a/src/junit/com/jogamp/gluegen/test/junit/generation/test2.h +++ b/src/junit/com/jogamp/gluegen/test/junit/generation/test2.h @@ -2,14 +2,12 @@ #include <gluegen_stdint.h> #include <gluegen_stddef.h> +typedef struct T2_Anonymous* T2_AnonPtr; + typedef struct { int32_t ApiVersion; uint64_t NetworkWork; - uint64_t StorageIo; - uint64_t WebSocketIo; - uint64_t P2PIo; - uint64_t HttpRequestIo; - uint64_t RTCIo; + T2_AnonPtr anonPtr; } T2_ThreadAffinity; typedef struct { |