<span style>> </span><span style>We are now in 2012 and C11 has been ratified. I don't understand why FLOSS C</span><br style><span style>> </span><span style>programmers insists on reinventing standard integer types that were defined 13</span><br style>
<span style>> </span><span style>years ago (in C99).</span><br style><span style>> </span><br style><span style>> </span><span style><stdint.h> (and indirectly <inttypes.h>) defines uint32_t and a wealth of</span><br style>
<span style>> </span><span style>other types. 'int' is not necessarily 32-bits, even though it is on most</span><br style><span style>> current platforms.</span><br style><div><br></div><div><div>It's just legacy of xdgmime... They were defined 8 years ago (I think it was</div>
<div>reasonable at that time).</div><div>If there is no objection I will replace it by types from <stdint.h>?</div><div>David?</div></div><div><br></div><div><div><font color="#000000"><font><font face="trebuchet ms,sans-serif"><br clear="all">
</font></font></font><div style="font-family:Arial,Helvetica,'Nimbus Sans L',sans-serif;line-height:12px;background-color:rgb(255,255,255)"><h3 style="font-family:inherit;font-style:inherit;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;outline-width:0px;outline-style:initial;outline-color:initial;font-weight:inherit;vertical-align:baseline;color:rgb(51,51,51)">
<font>--------------------------------</font></h3></div><div style="font-family:Arial,Helvetica,'Nimbus Sans L',sans-serif;line-height:12px;background-color:rgb(255,255,255)"><h3 style="font-family:inherit;font-style:inherit;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;outline-width:0px;outline-style:initial;outline-color:initial;font-weight:inherit;vertical-align:baseline;color:rgb(51,51,51)">
<font>Best regards, Dmitriy.</font></h3></div><br>
<br><br><div class="gmail_quote">28 февраля 2012 г. 20:20 пользователь Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span> написал:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le mardi 28 février 2012 16:33:36 DAV, vous avez écrit :<br>
<div class="im">> - got rid of "int" in cache (replaced by "xdg_uint32_t");<br>
<br>
</div>We are now in 2012 and C11 has been ratified. I don't understand why FLOSS C<br>
programmers insists on reinventing standard integer types that were defined 13<br>
years ago (in C99).<br>
<br>
<stdint.h> (and indirectly <inttypes.h>) defines uint32_t and a wealth of<br>
other types. 'int' is not necessarily 32-bits, even though it is on most<br>
current platforms.<br>
<br>
Oh well...<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
<a href="http://fi.linkedin.com/in/remidenis" target="_blank">http://fi.linkedin.com/in/remidenis</a><br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</font></span></blockquote></div><br></div></div>