[cogl] primitive: add scope annotation



commit c2d7e45bdf170ae13326d1472c2cc805080d6fa8
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>
    
    (cherry picked from commit 34838553c0f590c03a501f63a0f8a614fd7871ca)

 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 5665d11..19571f6 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.
  *


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