summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-06-09 15:51:57 -0400
committerColin Walters <walters@verbum.org>2009-06-09 15:51:57 -0400
commitf2a7cf92e8655a1ae9adf18ab7f1ac166a154ba1 (patch)
treec0a48e0583ba492259a8c539a9356441cc56177b
parent87db94d98c133998f4f8156719256bbeedfdd5c0 (diff)
downloadgobject-introspection-f2a7cf92e8655a1ae9adf18ab7f1ac166a154ba1.tar.gz
Bug 577546 - More annotations for GLib, GObject, Gio
Patch modified from one by Norbert Freese <nf2.email@gmail.com>.
-rw-r--r--gir/Makefile.am1
-rw-r--r--gir/gio-2.0.c21
-rw-r--r--gir/glib-2.0.c6
-rw-r--r--gir/gobject-2.0.c15
4 files changed, 38 insertions, 5 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am
index c30d9081..eb407458 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -73,6 +73,7 @@ GObject-2.0.gir: GLib-2.0.gir $(SCANNER_BIN) $(SCANNER_LIBS) Makefile
-I$(GOBJECT_LIBDIR)/glib-2.0/include \
-DGOBJECT_COMPILATION \
--pkg gobject-2.0 \
+ $(srcdir)/gobject-2.0.c \
$(GLIB_INCLUDEDIR)/gobject/*.h
$(SCANNER) $(SCANNER_ARGS) \
--xpath-assertions=$(srcdir)/GObject-2.0.xpath GObject-2.0.gir
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index 8048aa2c..3a1c8fdc 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -6,7 +6,13 @@
/**
* g_app_info_get_all:
*
- * Returns: (element-type GAppInfo) (transfer full):
+ * Returns: (element-type GAppInfo) (transfer full):
+ */
+
+/**
+ * g_app_info_get_all_for_type:
+ *
+ * Returns: (element-type GAppInfo) (transfer full):
*/
/**
@@ -22,6 +28,13 @@
*/
/**
+ * g_file_info_get_attribute_data:
+ *
+ * @value_pp: (out)
+ * Returns: (transfer none):
+ */
+
+/**
* g_file_info_get_icon:
*
* Returns: (transfer none):
@@ -426,6 +439,11 @@
*/
/**
+ * g_file_set_attributes_finish:
+ * @info: (out):
+ */
+
+/**
* g_file_set_attributes_from_info:
* @cancellable: (allow-none):
*/
@@ -597,4 +615,3 @@
*
* Return value: (array zero-terminated=1) (transfer full):
*/
-
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index c9689652..b372784c 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -1,7 +1,7 @@
/**
* g_file_get_contents:
- * @contents: (out):
- * @length: (out) (allow-none):
+ * @contents: (out):
+ * @length: (out) (allow-none):
*/
/**
@@ -13,7 +13,7 @@
* g_thread_init:
* @vtable: (allow-none):
*/
-
+
/**
* g_main_loop_new:
* @context: (allow-none):
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
new file mode 100644
index 00000000..07721fd2
--- /dev/null
+++ b/gir/gobject-2.0.c
@@ -0,0 +1,15 @@
+
+/**
+ * g_object_add_weak_pointer:
+ * @weak_pointer_location: (inout)
+ */
+
+/**
+ * g_object_remove_weak_pointer:
+ * @weak_pointer_location: (inout)
+ */
+
+/**
+ * g_object_class_list_properties:
+ * Return value: (array length=n_properties) (transfer full):
+ */