[PATCH 14/25] doc: add Returns statements and one parameter description

Nis Martensen nis.martensen at web.de
Sun Mar 4 03:37:21 PST 2012


---
 src/cairo-raster-source-pattern.c |    2 ++
 src/cairo.h                       |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/cairo-raster-source-pattern.c b/src/cairo-raster-source-pattern.c
index f096862..c0525e7 100644
--- a/src/cairo-raster-source-pattern.c
+++ b/src/cairo-raster-source-pattern.c
@@ -218,6 +218,8 @@ cairo_raster_source_pattern_set_callback_data (cairo_pattern_t *abstract_pattern
  *
  * Queries the current user data.
  *
+ * Returns: The user data of the pattern
+ *
  * Since: 1.12
  **/
 void *
diff --git a/src/cairo.h b/src/cairo.h
index d23cd10..4d02bad 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -2543,6 +2543,8 @@ typedef void
  * is expected to provide the pixel data that was current at the time
  * of snapshotting.
  *
+ * Returns: %CAIRO_STATUS_SUCCESS upon success, or an error status on error.
+ *
  * Since: 1.12
  **/
 typedef cairo_status_t
@@ -2553,10 +2555,13 @@ typedef cairo_status_t
  * cairo_raster_source_copy_func_t:
  * @pattern: the pattern being rendered from
  * @callback_data: the user data supplied during creation
+ * @other: the copy
  *
  * #cairo_raster_source_copy_func_t is the type of function which is
  * called when the pattern gets copied as a normal part of rendering.
  *
+ * Returns: %CAIRO_STATUS_SUCCESS upon success, or an error status on error.
+ *
  * Since: 1.12
  **/
 typedef cairo_status_t
-- 
1.7.2.5


--------------090104080009020304000505
Content-Type: text/plain;
 name="0015-doc-move-value-descriptions-up.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0015-doc-move-value-descriptions-up.patch.txt"



More information about the cairo mailing list