Re: [Vala] using libgee from c



Hello,

On Sat, Feb 13, 2010 at 01:28:21 +0530, Martin DeMello wrote:
Other than reading gee.h directly, is there any documentation on the C
api to libgee?

The conversion between Vala and C api is straightforward. So you can simply
look at the documentation at www.valadoc.org and learn to know what
corresponding C names are.

The names follow the Gtk coding convention. What is slightly tricky is
remembering what additional parameters you need to pass to generic methods
(the GType, copy (ref) and destroy (unref) functions), but since it's always
the same, you'll remember after a while.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



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