> 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 <[email protected]>написал: > 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg >
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
