context: add scope annotation

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Lionel Landwerlin 2013-09-03 21:59:41 +01:00 committed by Robert Bragg
parent d25b5f0314
commit 3ad8307ab3

View File

@ -328,8 +328,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.