summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-09 04:24:51 +0200
committerBenjamin Otte <otte@redhat.com>2010-07-09 04:24:51 +0200
commitce530b2802683fe6c5289367ef03018f4081a2da (patch)
tree596f13cc7f6746aef88f630fc3b87460e2274cb0 /src
parentc1fed693020c96126cdc697ddd22567398369b04 (diff)
doc: Add "@Since: 1.10" tags to device docs
Diffstat (limited to 'src')
-rw-r--r--src/cairo-device.c14
-rw-r--r--src/cairo.h2
2 files changed, 16 insertions, 0 deletions
diff --git a/src/cairo-device.c b/src/cairo-device.c
index d0e7066c..dac1b3b6 100644
--- a/src/cairo-device.c
+++ b/src/cairo-device.c
@@ -185,6 +185,8 @@ _cairo_device_init (cairo_device_t *device,
* cairo_device_get_reference_count().
*
* Return value: the referenced #cairo_device_t.
+ *
+ * Since: 1.10
**/
cairo_device_t *
cairo_device_reference (cairo_device_t *device)
@@ -211,6 +213,8 @@ slim_hidden_def (cairo_device_reference);
*
* Return value: %CAIRO_STATUS_SUCCESS on success or an error code if
* the device is in an error state.
+ *
+ * Since: 1.10
**/
cairo_status_t
cairo_device_status (cairo_device_t *device)
@@ -233,6 +237,8 @@ cairo_device_status (cairo_device_t *device)
* does nothing.
*
* This function may acquire devices.
+ *
+ * Since: 1.10
**/
void
cairo_device_flush (cairo_device_t *device)
@@ -266,6 +272,8 @@ slim_hidden_def (cairo_device_flush);
* associated with the device.
*
* This function may acquire devices.
+ *
+ * Since: 1.10
**/
void
cairo_device_finish (cairo_device_t *device)
@@ -297,6 +305,8 @@ slim_hidden_def (cairo_device_finish);
* cairo_device_reference().
*
* This function may acquire devices if the last reference was dropped.
+ *
+ * Since: 1.10
**/
void
cairo_device_destroy (cairo_device_t *device)
@@ -377,6 +387,8 @@ cairo_device_get_type (cairo_device_t *device)
* the device is in an error state and could not be
* acquired. After a successful call to cairo_device_acquire(),
* a matching call to cairo_device_release() is required.
+ *
+ * Since: 1.10
**/
cairo_status_t
cairo_device_acquire (cairo_device_t *device)
@@ -406,6 +418,8 @@ slim_hidden_def (cairo_device_acquire);
*
* Releases a @device previously acquired using cairo_device_acquire(). See
* that function for details.
+ *
+ * Since: 1.10
**/
void
cairo_device_release (cairo_device_t *device)
diff --git a/src/cairo.h b/src/cairo.h
index 02b4b6da..44ce5619 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -159,6 +159,8 @@ typedef struct _cairo_surface cairo_surface_t;
*
* Memory management of #cairo_device_t is done with
* cairo_device_reference() and cairo_device_destroy().
+ *
+ * Since: 1.10
**/
typedef struct _cairo_device cairo_device_t;