From 34838553c0f590c03a501f63a0f8a614fd7871ca Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 3 Sep 2013 22:01:00 +0100 Subject: [PATCH] primitive: add scope annotation Reviewed-by: Robert Bragg --- cogl/cogl-primitive.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cogl/cogl-primitive.h b/cogl/cogl-primitive.h index a577d1558..55acb1503 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. *