Bug 577546 - More annotations for GLib, GObject, Gio
authorColin Walters <walters@verbum.org>
Tue, 9 Jun 2009 19:51:57 +0000 (15:51 -0400)
committerColin Walters <walters@verbum.org>
Tue, 9 Jun 2009 19:51:57 +0000 (15:51 -0400)
Patch modified from one by Norbert Freese <nf2.email@gmail.com>.

gir/Makefile.am
gir/gio-2.0.c
gir/glib-2.0.c
gir/gobject-2.0.c [new file with mode: 0644]

index c30d908..eb40745 100644 (file)
@@ -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
index 8048aa2..3a1c8fd 100644 (file)
@@ -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):
  */
 
 /**
  * Returns: (transfer none):
  */
 
+/**
+ * g_file_info_get_attribute_data:
+ *
+ * @value_pp: (out)
+ * Returns: (transfer none):
+ */
+
 /**
  * g_file_info_get_icon:
  *
  * @cancellable: (allow-none):
  */
 
+/**
+ * g_file_set_attributes_finish:
+ * @info: (out):
+ */
+
 /**
  * g_file_set_attributes_from_info:
  * @cancellable: (allow-none):
  *
  * Return value: (array zero-terminated=1) (transfer full):
  */
-
index c968965..b372784 100644 (file)
@@ -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 (file)
index 0000000..07721fd
--- /dev/null
@@ -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):
+ */