[ostree/wip/libsysroot: 4/9] sysroot: Update some annotations



commit 2b2c6ead22db9cb50a9de7fddc53b4411972656c
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 3 18:29:40 2013 -0400

    sysroot: Update some annotations
    
    We were double-freeing before.

 src/libostree/ostree-deployment.c |    7 +++++++
 src/libostree/ostree-sysroot.c    |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-deployment.c b/src/libostree/ostree-deployment.c
index db61c56..a555e05 100644
--- a/src/libostree/ostree-deployment.c
+++ b/src/libostree/ostree-deployment.c
@@ -155,6 +155,13 @@ ostree_deployment_hash (gconstpointer v)
     ostree_deployment_get_deployserial (d);
 }
 
+/**
+ * ostree_deployment_equal:
+ * @ap: (type OstreeDeployment): A deployment
+ * @bp: (type OstreeDeployment): A deployment
+ *
+ * Returns: %TRUE if deployments have the same osname, csum, and deployserial
+ */
 gboolean
 ostree_deployment_equal (gconstpointer ap, gconstpointer bp)
 {
diff --git a/src/libostree/ostree-sysroot.c b/src/libostree/ostree-sysroot.c
index 92d7b03..4839118 100644
--- a/src/libostree/ostree-sysroot.c
+++ b/src/libostree/ostree-sysroot.c
@@ -762,7 +762,7 @@ ostree_sysroot_get_booted_deployment (OstreeSysroot       *self)
  * ostree_sysroot_get_deployments:
  * @self: Sysroot
  *
- * Returns: (element-type OstreeDeployment) (transfer full): Ordered list of deployments
+ * Returns: (element-type OstreeDeployment) (transfer container): Ordered list of deployments
  */
 GPtrArray *
 ostree_sysroot_get_deployments (OstreeSysroot  *self)


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