[vala/staging] libgvc: Fix a few binding errors
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] libgvc: Fix a few binding errors
- Date: Wed, 27 Jan 2021 14:39:45 +0000 (UTC)
commit a9144d1da37cf589f19f99947e26e470b29fc63e
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]