summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-03 21:59:41 +0100
committerRobert Bragg <robert@linux.intel.com>2013-09-24 12:46:14 +0100
commitea6a2baf6c92bd994f893eed8a5fe38fbe0594c9 (patch)
tree90bc23abab8e1c2baf9d0a6fd47c520af5808472
parent6c909064904503648b20d5339b1f295fac08188a (diff)
downloadcogl-ea6a2baf6c92bd994f893eed8a5fe38fbe0594c9.tar.gz
context: add scope annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 3ad8307ab39d0a8b47e37b3a7a8c99f8e902441d)
-rw-r--r--cogl/cogl-context.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h
index 60c92b13..8b3185ac 100644
--- a/cogl/cogl-context.h
+++ b/cogl/cogl-context.h
@@ -316,8 +316,9 @@ typedef void (*CoglFeatureCallback) (CoglFeatureID feature, void *user_data);
/**
* cogl_foreach_feature:
* @context: A #CoglContext pointer
- * @callback: A #CoglFeatureCallback called for each supported feature
- * @user_data: Private data to pass to the callback
+ * @callback: (scope call): A #CoglFeatureCallback called for each
+ * supported feature
+ * @user_data: (closure): Private data to pass to the callback
*
* Iterates through all the context level features currently supported
* for a given @context and for each feature @callback is called.