[Bug 30422] Provide GVariant-based access to all a{sv} things
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 30 13:16:44 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=30422
--- Comment #46 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-04-30 11:16:44 UTC ---
(In reply to comment #43)
> > A common GVariant trap: handle_type should be a guint32, not a TpHandleType
> > (which we assume is the same size as a guint). guint is not necessarily 32-bit
> > forever.
>
> Humm that's nasty :\
> Can't we do anything to fix this in next?
Not really. enums are as big as the compiler says they are: strictly speaking,
we shouldn't assume they're int-sized either, since ISO C says they can have
any type big enough for all the declared values (but I think GObject relies on
enums being int-sized too, so we're more or less safe on real-world platforms).
I tried to convince desrt that returning the integer and having a boolean "out"
parameter was more forgiving than the other way round, but he wasn't having any
of it... so we'll just have to be careful about this.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list