[gegl] gegl - documents that the return value of gegl_operation_list_properties() must be freed



commit 9d583954a46976c58ad638224179c3ba0ae2cc44
Author: Jehan <jehan girinstud io>
Date:   Sun Jul 28 03:20:01 2013 +1200

    gegl - documents that the return value of gegl_operation_list_properties() must be freed

 gegl/gegl.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/gegl.h b/gegl/gegl.h
index 4d8314d..5a4690a 100644
--- a/gegl/gegl.h
+++ b/gegl/gegl.h
@@ -149,7 +149,7 @@ gchar        **gegl_list_operations         (guint *n_operations_p);
  * @n_properties_p: (out caller-allocates): return location for number of properties.
  *
  * Return value: (transfer container) (array length=n_properties_p): An allocated array of #GParamSpecs 
describing the properties
- * of the operation available when a node has operation_type set.
+ * of the operation available when a node has operation_type set. The list should be freed with g_free after 
use.
  */
 GParamSpec** gegl_operation_list_properties (const gchar   *operation_type,
                                              guint         *n_properties_p);


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