[vala/0.50] libgvc: Fix a few binding errors



commit 4498a3292ba46c4892fec8ed521f80c39744487c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jan 27 15:34:53 2021 +0100

    libgvc: Fix a few binding errors

 vapi/libgvc.vapi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
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);


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