exdgmime

DAV dav.daemon at gmail.com
Wed Feb 29 00:58:43 PST 2012


> We are now in 2012 and C11 has been ratified. I don't understand why
FLOSS C
> programmers insists on reinventing standard integer types that were
defined 13
> years ago (in C99).
>
> <stdint.h> (and indirectly <inttypes.h>) defines uint32_t and a wealth of
> other types. 'int' is not necessarily 32-bits, even though it is on most
> current platforms.

It's just legacy of xdgmime... They were defined 8 years ago (I think it was
reasonable at that time).
If there is no objection I will replace it by types from <stdint.h>?
David?


--------------------------------
Best regards, Dmitriy.



28 февраля 2012 г. 20:20 пользователь Rémi Denis-Courmont
<remi at remlab.net>написал:

> Le mardi 28 février 2012 16:33:36 DAV, vous avez écrit :
> >  - got rid of "int" in cache (replaced by "xdg_uint32_t");
>
> We are now in 2012 and C11 has been ratified. I don't understand why FLOSS
> C
> programmers insists on reinventing standard integer types that were
> defined 13
> years ago (in C99).
>
> <stdint.h> (and indirectly <inttypes.h>) defines uint32_t and a wealth of
> other types. 'int' is not necessarily 32-bits, even though it is on most
> current platforms.
>
> Oh well...
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> http://fi.linkedin.com/in/remidenis
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20120229/f46c3aec/attachment.htm>


More information about the xdg mailing list