[Cogl] [PATCH 20/53] doc: Finish describing the arguments of cogl_error_matches()

Damien Lespiau damien.lespiau at gmail.com
Tue Jan 1 06:30:56 PST 2013


From: Damien Lespiau <damien.lespiau at intel.com>

---
 cogl/cogl-error.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/cogl/cogl-error.h b/cogl/cogl-error.h
index e24f5fc..d7e2998 100644
--- a/cogl/cogl-error.h
+++ b/cogl/cogl-error.h
@@ -142,8 +142,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
-- 
1.7.7.5



More information about the Cogl mailing list