Re: [Vala] Wrong glib-2.0 vapi



On 16/06/2015 05:21, yannick inizan wrote:
Hi.

I've a problem with glib-2.0 vapi and OptionContext :

[Compact]
#if GLIB_2_44
[CCode (ref_function = "g_option_context_ref", unref_function =
"g_option_context_unref", type_id = "G_TYPE_OPTION_GROUP")]
#else
[CCode (free_function = "g_option_context_free")]
#endif
public class OptionContext {

g_option_context_unref doesn't exist, but free_function exists.
I've to copy vapi and remove this condition

It's been reverted in e6b24a2e5f00ba73dd06b8e57cc1ab8ccddf38ee


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