On Wed, Jan 11, 2012 at 7:05 AM, Vincent Torri <vincent.to...@gmail.com> wrote:
> +#include <stdio.h> /* asprintf() */
>
> ALWAYS include standard headers AFTER config.h and BEFORE eina headers

cedric fixed it, thanks.


> +#include <inttypes.h> /* PRId64 and PRIu64 */
>
> i knew that you don't care about cross platform support...

Not that I don't care, but I don't know what is needed. I expect
people can port this easily and I even wrote why I've added it.

#ifdef _SOME_PLAT_WITHOUT_INTTYPES
#if __WORDSIZE_IN_MY_PLATFORM == 64
#define PRId64 "lld"
#else
#define PRId64 "ld"
#endif
#endif

just note that I had to add scanf (SCNd64) due convert part.

These could go into evil, no?

I forgot about the code in inline.x that it would be compiled with C++
AND that c++ fails without casts even if used within extern "C" {}.

For the track I'm using asprintf() as well, but as far as I understand
it was added to evil().

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to