Hi all,

I was wondering: does anyone know of a reason why GSNativeChar is defined as 
uint16_t instead of wchar_t in GSConfig.h on Windows?

While they are probably technically the same (both are 16 bit on Windows), the 
latter would avoid a bunch of warnings / avoid having to cast when passing 
paths to Windows system APIs that expect wchar_t. This also applies to client 
code as this type is returned by NSString fileSystemRepresentation.

If there’s no objections I’d like to change it to wchar_t.

Thanks,
Frederik


Reply via email to