Using C99 types (Was: glyph-pixmaps merged)

Daniel Stone daniel at fooishbar.org
Sun Oct 21 07:06:41 PDT 2007


On Sun, Oct 21, 2007 at 09:29:52AM -0400, Bernardo Innocenti wrote:
> On 10/21/07 03:21, Alexander E. Patrakov wrote:
> > Edgar Toernig wrote:
> >> typedef unsigned int u32;
> > 
> > Please use stdint.h and uint32_t instead.
> 
> Indeed.
> 
> Btw, do the other developers see value in getting rid of
> custom X types such as CARD32 long term?  At least in
> the server, where API/ABI issues shouldn't matter.

Well, it does have the neat effect of breaking all external patches and
screwing up merges quite badly, but other than that, I don't see any
reason to not move to {u,}int{8,16,32,64}_t.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20071021/0f392d79/attachment.pgp>


More information about the xorg mailing list