[Telepathy] [Bug 18040] tp_list_connection_managers() (and others?) use const on complex types.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 14 09:04:59 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18040





--- Comment #3 from Xavier Claessens <xclaesse at gmail.com>  2008-10-14 09:04:52 PST ---
pointer to pointer can be hidden with a typedef, just like GStrv for gchar**.
This is useful for bindings too. For example a binding can generate a list of
strings if it sees GStrv, but can't do anything if it is a GList* or a gchar**.

What about that?
typedef TpConnectionManagerArray TpConnectionManager* const*;


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list