From: Rico Tzschichholz Date: Wed, 27 Jan 2021 14:34:53 +0000 (+0100) Subject: libgvc: Fix a few binding errors X-Git-Tag: 0.51.1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9144d1da37cf589f19f99947e26e470b29fc63e;p=thirdparty%2Fvala.git libgvc: Fix a few binding errors --- diff --git a/vapi/libgvc.vapi b/vapi/libgvc.vapi index e28c910fc..ab9e5ffb7 100644 --- a/vapi/libgvc.vapi +++ b/vapi/libgvc.vapi @@ -29,7 +29,7 @@ namespace Gvc { [CCode (cname = "aginit")] #if WITH_CGRAPH - public void init (Graph g, int kind, string rec_name, bool move_to_front); + public void init (Graph g, int kind, char[] rec_name, bool move_to_front); #else public void init (); #endif @@ -97,8 +97,8 @@ namespace Gvc { [Compact] [CCode (cname = "Agnode_t", ref_function = "", unref_function = "", free_function = "")] public class Node { - [CCode (cname = "name")] - public string name; + [CCode (cname = "agnameof")] + public unowned string name (); [CCode (cname = "agget")] public unowned string? get ([CCode (type = "char*")] string attribute_name);