[gobject-introspection] Bug 577546 - More annotations for GLib, GObject, Gio



commit f2a7cf92e8655a1ae9adf18ab7f1ac166a154ba1
Author: Colin Walters <walters verbum org>
Date:   Tue Jun 9 15:51:57 2009 -0400

    Bug 577546 - More annotations for GLib, GObject, Gio
    
    Patch modified from one by Norbert Freese <nf2 email gmail com>.
---
 gir/Makefile.am   |    1 +
 gir/gio-2.0.c     |   21 +++++++++++++++++++--
 gir/glib-2.0.c    |    6 +++---
 gir/gobject-2.0.c |   15 +++++++++++++++
 4 files changed, 38 insertions(+), 5 deletions(-)

diff --git a/gir/Makefile.am b/gir/Makefile.am
index c30d908..eb40745 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 8048aa2..3a1c8fd 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 c968965..b372784 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 0000000..07721fd
--- /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):
+ */



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