The _CastXmlParser._fundamental_type_to_pcstruct_type() method assumes anychar array is utf-8 and this ultimately results in a StringDef type for the character array.
This may not always be the case - sometimes you may have arrays of normal unsigned 8-bit integers for example.
Consider changing the criteria such that only an array of char is assumed to be utf-8. This will result in arrays of unsigned char and signed char to be treated as arrays of uint8 and int8 respectively.
The
_CastXmlParser._fundamental_type_to_pcstruct_type()
method assumes anychar
array is utf-8 and this ultimately results in aStringDef
type for the character array.This may not always be the case - sometimes you may have arrays of normal unsigned 8-bit integers for example.
Consider changing the criteria such that only an array of
char
is assumed to be utf-8. This will result in arrays ofunsigned char
andsigned char
to be treated as arrays ofuint8
andint8
respectively.