[Vala] Error in glib-2.0.vala binding of g_strdup_printf



Jurg,

    Thanks for all the advice.  Moving everything to the vapi dir worked well.  But in duplicating one of the GenX simple demos to test the new binding,
I discovered another small error in the glib bindings.

The binding for string.printf should be made static, since g_strdup_printf does not take the object as it's first argument.

(Line 175 vapi/glib-2.0.vala)

[CCode (cname = "g_strdup_printf")]
public static ref string printf (...);

Guys, keep up the good work.

Cayle
Missouri


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