summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-09-07 17:12:02 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2010-09-07 18:51:16 -0400
commitcd0de25d5971a34f49830668337af96b15fed4b4 (patch)
tree9ae0033a4ead7c604a9491f81b37dc302e708b8c
parent7b4425d68f9fc8e7d798af1539e71d88530ad944 (diff)
downloadgobject-introspection-cd0de25d5971a34f49830668337af96b15fed4b4.tar.gz
Add missing annotations to GLib and Gio
Add (transfer full) and (array zero-terminated=1) to various GLib and Gio functions.
-rw-r--r--gir/gio-2.0.c96
-rw-r--r--gir/glib-2.0.c13
2 files changed, 109 insertions, 0 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 71df3e88..a86357a2 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -4,6 +4,12 @@
*/
/**
+ * g_volume_monitor_get:
+ *
+ * Return value: (transfer full):
+ */
+
+/**
* g_volume_monitor_get_connected_drives:
*
* Returns: (element-type GDrive) (transfer full):
@@ -65,6 +71,64 @@
*/
/**
+ * g_file_new_for_path:
+ **
+ * @path:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_new_for_uri:
+ **
+ * @uri:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_new_for_commandline_arg:
+ **
+ * @arg:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_parse_name:
+ **
+ * @parse_name:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_dup:
+ *
+ * @file:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_enumerate_children:
+ *
+ * @file:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_enumerate_children_finish:
+ *
+ * @file:
+ * @res:
+ * @error:
+ * Returns: (transfer full):
+ */
+
+/**
+ * g_file_monitor_file:
+ *
+ * @file:
+ * Returns: (transfer full):
+ */
+
+/**
* g_app_info_launch:
* @appinfo:
* @files: (element-type GFile):
@@ -81,12 +145,28 @@
*/
/**
+ * g_file_enumerator_next_file:
+ * @enumerator:
+ * @cancellable:
+ * @error:
+ *
+ * Return value: (transfer full):
+ */
+
+/**
* g_file_enumerator_next_files_finish:
*
* Return value: (transfer full) (element-type GFileInfo):
*/
/**
+ * g_file_enumerator_get_container:
+ * @enumerator:
+ *
+ * Return value: (transfer full):
+ */
+
+/**
* g_file_load_contents:
* @contents: (out) (transfer full):
* @length: (allow-none) (out):
@@ -261,3 +341,19 @@
*
* Returns: (element-type utf8) (transfer full):
*/
+
+/**
+ * g_settings_get_strv:
+ * @settings:
+ * @key:
+ *
+ * Return value: (array zero-terminated-1) (transfer full):
+ */
+
+/**
+ * g_settings_set_strv:
+ * @settings:
+ * @key:
+ * @value: (array zero-terminated-1):
+ *
+ */
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index aa9753a7..99563daa 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -20,6 +20,19 @@
*/
/**
+ * g_build_pathv:
+ * @separator:
+ * @args: (array zero-terminated=1):
+ * Return value:
+ */
+
+/**
+ * g_build_filenamev:
+ * @args: (array zero-terminated=1):
+ * Return value:
+ */
+
+/**
* g_markup_escape_text:
* Return value: (transfer full):
*/