Re: "long" version of GPointerArray?



Hi,

On Fri, Jun 8, 2012 at 6:59 PM, Christopher Howard
<christopher howard frigidcode com> wrote:
> It seems unfortunate to me that the API for GPointerArray uses guint in
> its parameters, instead of gulong. Then on 64 bit platforms our apps are
> limited to 32 bits worth of pointer data. But if it was gulong, then I'd
> have 32 bits on the 32 bit platform and 64 bits on the 64 bit platform.
If you need billions elements, then GPtrArray probably isn't the right
datastructure to use anyway.
If you don't need billions of elements, then int is fine.

--Ray


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]