Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread Brett Nash
> > > > Unfortunately there is no safe way of printing it in C89 (ie > > windows). The best way is: > > printf("... %ld..",(unsigned int)blah); > > note that, on Windows 64 bits, a long is of size 32 bits :) Why do people use this again? ;-) I assume neither inttypes.h or stdint.h don't exi

Re: [E-devel] how to use

2009-12-30 Thread Jonathan Atton
xupengxiang wrote: If "file" is an eet file, yous must specify a "group" which is in the eet file. If "file" is a classic file (png ...), set group to NULL. > hi, > I just know you want to use elm_image_file_set > > Finding it in SRC, you can find that > if (((p = strrchr(file, '.'

Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread David Seikel
On Wed, 30 Dec 2009 18:32:25 +1100 Brett Nash wrote: > On Wed, 30 Dec 2009 07:51:01 +0100 (CET) > Vincent Torri wrote: > > Unfortunately there is no safe way of printing it in C89 (ie windows). Windows is stuck in the '80s? Why am I not surprised? signature.asc Description: PGP signature --

Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread Gustavo Sverzut Barbieri
On Wed, Dec 30, 2009 at 5:32 AM, Brett Nash wrote: > On Wed, 30 Dec 2009 07:51:01 +0100 (CET) > Vincent Torri wrote: > >> >> >> On Wed, 30 Dec 2009, Vincent Torri wrote: >> >> > >> > >> > On Wed, 30 Dec 2009, Gustavo Sverzut Barbieri wrote: >> > >> >> On Wed, Dec 30, 2009 at 12:07 AM, Enlightenme

Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread Joerg Sonnenberger
On Wed, Dec 30, 2009 at 10:44:23AM -0200, Gustavo Sverzut Barbieri wrote: > > Unfortunately there is no safe way of printing it in C89 (ie windows). > > The best way is: > >        printf("... %ld..",(unsigned int)blah); %ld and unsigned int? You must be joking... Defining PRIdMAX and friends can

Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread Brett Nash
On Wed, 30 Dec 2009 22:25:17 +0100 Joerg Sonnenberger wrote: > On Wed, Dec 30, 2009 at 10:44:23AM -0200, Gustavo Sverzut Barbieri > wrote: > > > Unfortunately there is no safe way of printing it in C89 (ie > > > windows). The best way is: > > >        printf("... %ld..",(unsigned int)blah); > >

Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread Brett Nash
On Wed, 30 Dec 2009 22:25:17 +0100 Joerg Sonnenberger wrote: > On Wed, Dec 30, 2009 at 10:44:23AM -0200, Gustavo Sverzut Barbieri > wrote: > > > Unfortunately there is no safe way of printing it in C89 (ie > > > windows). The best way is: > > >        printf("... %ld..",(unsigned int)blah); > >

Re: [E-devel] E SVN: devilhorns trunk/edje/src/lib

2009-12-30 Thread Joerg Sonnenberger
On Thu, Dec 31, 2009 at 11:03:33AM +1100, Brett Nash wrote: > > %ld and unsigned int? You must be joking... Defining PRIdMAX and > > friends can be easily automated. > > Unfortunately although PRIdMAX is useful, I don't believe there is one > for size_t. Instead you use the %z modifier, which lea