Fix #172 - skip qualifiers
This commit is contained in:
parent
f23d17d0b2
commit
08306b9802
4 changed files with 33 additions and 4 deletions
|
|
@ -170,6 +170,11 @@ typedef struct SDL_AudioCVT
|
|||
int needed;
|
||||
} SDL_AudioCVT;
|
||||
|
||||
// Issue #172
|
||||
typedef struct {
|
||||
const char* const* x;
|
||||
} SomeType;
|
||||
|
||||
|
||||
|
||||
// DUPLICATES
|
||||
|
|
@ -334,6 +339,11 @@ typedef struct SDL_AudioCVT
|
|||
int needed;
|
||||
} SDL_AudioCVT;
|
||||
|
||||
// Issue #172
|
||||
typedef struct {
|
||||
const char* const* x;
|
||||
} SomeType;
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -367,4 +367,9 @@ checkPragmas(GPU_Target, pHeaderBy, istype = false)
|
|||
# Issue #185
|
||||
assert AudioCVT is object
|
||||
testFields(AudioCVT, "needed!cint")
|
||||
checkPragmas(AudioCVT, pHeaderBy, istype = false, "SDL_")
|
||||
checkPragmas(AudioCVT, pHeaderBy, istype = false, "SDL_")
|
||||
|
||||
# Issue #172
|
||||
assert SomeType is object
|
||||
testFields(SomeType, "x!ptr cstring")
|
||||
checkPragmas(SomeType, pHeaderImpBy)
|
||||
Loading…
Add table
Add a link
Reference in a new issue