[cogl/cogl-1.16] primitive: add scope annotation



commit 34838553c0f590c03a501f63a0f8a614fd7871ca
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 22:01:00 2013 +0100

    primitive: add scope annotation
    
    Reviewed-by: Robert Bragg <robert linux intel com>

 cogl/cogl-primitive.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-primitive.h b/cogl/cogl-primitive.h
index a577d15..55acb15 100644
--- a/cogl/cogl-primitive.h
+++ b/cogl/cogl-primitive.h
@@ -857,8 +857,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.
  *


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