[gnome-boxes] Add libvirt-glib metadata for unowned argv
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Add libvirt-glib metadata for unowned argv
- Date: Tue, 11 Oct 2011 17:39:13 +0000 (UTC)
commit a90b58799a5dbb070bec621264e035f781b60a23
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Tue Oct 11 19:07:07 2011 +0200
Add libvirt-glib metadata for unowned argv
vapi/libvirt-gobject-1.0.metada | 2 ++
vapi/libvirt-gobject-1.0.vapi | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libvirt-gobject-1.0.metada b/vapi/libvirt-gobject-1.0.metada
new file mode 100644
index 0000000..90e5197
--- /dev/null
+++ b/vapi/libvirt-gobject-1.0.metada
@@ -0,0 +1,2 @@
+init_object.argv unowned
+init_object_check.argv unowned
diff --git a/vapi/libvirt-gobject-1.0.vapi b/vapi/libvirt-gobject-1.0.vapi
index e6ad1e7..3361632 100644
--- a/vapi/libvirt-gobject-1.0.vapi
+++ b/vapi/libvirt-gobject-1.0.vapi
@@ -237,7 +237,7 @@ namespace GVir {
[CCode (cheader_filename = "libvirt-gobject/libvirt-gobject.h", instance_pos = 2.9)]
public delegate int StreamSinkFunc (GVir.Stream stream, [CCode (array_length_cname = "nbytes", array_length_pos = 2.1, array_length_type = "gsize")] out unowned string[] buf);
[CCode (cheader_filename = "libvirt-gobject/libvirt-gobject.h")]
- public static void init_object ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref string[]? argv);
+ public static void init_object ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
[CCode (cheader_filename = "libvirt-gobject/libvirt-gobject.h")]
- public static bool init_object_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref string[]? argv) throws GLib.Error;
+ public static bool init_object_check ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv) throws GLib.Error;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]