Re: [gtk-list] Re: More about types...
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: More about types...
- Date: Fri, 5 Mar 1999 22:54:26 -0500 (EST)
On Sat, 6 Mar 1999, Drazen Kacar wrote:
>
> Neither of them helps a lot, but with printf it would be something
> like this:
>
If you know the answer why did you ask? :-) g_print() would require the
same conditional.
> Since GTK has all those gints, gpointers and such, it would be really
> nice if there was gsize_t, goff_t & co. which would eliminate the
> need for #ifdefs and different macros.
>
There's a gsize and gssize (signed and unsigned). I don't think there's an
off_t.
> So, is there something like that? If not, which gtype is guaranteed to
> hold size_t and off_t without losing precision?
>
Nothing special. There's gint/guint/glong/gulong but they don't offer
additional guarantees over int/long.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]