#Extern unsigned char

1 messages · Page 1 of 1 (latest)

hot wadi
#

I am interfacing with some C code and there is an unsigned char. How do I access this from Zig? All I see for ABI chars is c_char, so would the proper Zig be extern var experimental: c_char;?

#

I know that char can be either signed or unsigned in C, so this might work, but ideally I’d have a guarantee

weak cove