Re: G_INT_FORMAT
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: G_INT_FORMAT
- Date: Wed, 06 Sep 2000 09:42:59 +0200
Hi Owen,
> 1999-03-15 Sebastian Wilhelmi <wilhelmi ira uka de>
>
> * glib.h Added G_(U)?(SHORT|INT|LONG)_FORMAT for consistency. It
> however makes no sense to also provide G_(FLOAT|DOUBLE)_FORMAT, as
> they are different for printf (f for both) and scanf (f for float,
> lf for double). Defining G_INT_FORMAT makes sense however, as we
> might want to define gint to something different than int someday
> in the future. Idea from Sascha Brawer <sb adasys ch>.
>
> These were apparently added right after glib-1.2. I'd like
> to remove them.
Ok, I'll remove them. I actually don't care at all for those macros.
> b) We will NOT define gint to anything other than int.
What about 'typedef double gint'. That would make programming adventurous
again.
Bye,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:wilhelmi ira uka de | är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]