[Vala] CCode finish_function



Hi,

dealing with asynchronous construction I stumbled across CCode
statements (e.g. in the  gio-2.0 bindings) like:

[CCode (finish_function = "g_async_initable_new_finish")]

Unfortunately, I could not find any documentation for it neither in [1]
nor elsewhere. Any hint on how to use this? Is this a way to set
explicitly the finish_function for the callback from init_async methods
(and similar) ?

thanks




[1] https://live.gnome.org/Vala/Manual/Attributes#CCode_Attribute
    
-- 
tomw <tomw ubilix com>




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