[SDL] :1 ?
keith at kludgeco.com
Mon Jul 22 13:50:01 PDT 2002
> > Uint32 hw_available :1; /* Flag: Can you create hardware surfaces? */
> > ...Does the :1 mean that the hw_available variable is defined as a
> > bit ?
Yes, it's a C bitfield. You can access individual bits if you need to, or
groups of bits (the number after the colon is the number of bits to use for
They're extremely rarely used, so it's no surprise if you haven't seen it
More information about the SDL