Re: C++ ubyte ?!

Αρχική Σελίδα
Συνημμένα:
Μήνυμα σαν ηλεκτρονικό μήνυμα
+ (text/plain)
Delete this message
Reply to this message
Συντάκτης: Matt Graham
Ημερομηνία:  
Προς: Main PLUG discussion list
Αντικείμενο: Re: C++ ubyte ?!
On 2013-12-09 08:42, wrote:
> Does anybody know in which Universe ubyte is defined in C++?
> Which include file?


AFAICT, "ubyte" isn't defined anywhere, though GLubyte is apparently a
typedef in GLDefs.h. If you need an unsigned byte, you use unsigned
char since sizeof(char) is supposed to be 1 in all C and C++
implementations. (Or at least it was the last time I looked.) Linux
kernel code does "typedef unsigned char __u8;" but I don't know if
that's meant for general userspace use.

--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss