1
0
Fork 0

doc: Finish describing the arguments of cogl_error_matches()

(cherry picked from commit 8f429d9ce45e3df204db0bdc0d988fd07f103282)
This commit is contained in:
Damien Lespiau 2012-12-30 17:37:18 +00:00 committed by Robert Bragg
parent 6932b66ef1
commit f63b4597f7

View file

@ -146,8 +146,10 @@ cogl_error_copy (CoglError *error);
/**
* cogl_error_matches:
* @error: A #CoglError thrown by the Cogl api or %NULL
* @domain: The error domain
* @code: The error code
*
* Returns %TRUE if error matches domain and code, %FALSE otherwise.
* Returns %TRUE if error matches @domain and @code, %FALSE otherwise.
* In particular, when error is %NULL, FALSE will be returned.
*
* Return value: whether the @error corresponds to the given @domain