summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-03 22:01:00 +0100
committerRobert Bragg <robert@linux.intel.com>2013-09-24 12:46:14 +0100
commitc2d7e45bdf170ae13326d1472c2cc805080d6fa8 (patch)
tree28ccd17cbb553a64803bb7996700814fc0c1de63
parenta7955538e1df4c54c92c0f4a5ccaffe336cdaf6d (diff)
downloadcogl-c2d7e45bdf170ae13326d1472c2cc805080d6fa8.tar.gz
primitive: add scope annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 34838553c0f590c03a501f63a0f8a614fd7871ca)
-rw-r--r--cogl/cogl-primitive.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cogl/cogl-primitive.h b/cogl/cogl-primitive.h
index 5665d11c..19571f66 100644
--- a/cogl/cogl-primitive.h
+++ b/cogl/cogl-primitive.h
@@ -849,8 +849,10 @@ typedef CoglBool (* CoglPrimitiveAttributeCallback) (CoglPrimitive *primitive,
/**
* cogl_primitive_foreach_attribute:
* @primitive: A #CoglPrimitive object
- * @callback: A #CoglPrimitiveAttributeCallback to be called for each attribute
- * @user_data: Private data that will be passed to the callback
+ * @callback: (scope call): A #CoglPrimitiveAttributeCallback to be
+ * called for each attribute
+ * @user_data: (closure): Private data that will be passed to the
+ * callback
*
* Iterates all the attributes of the given #CoglPrimitive.
*