buffer: add missing transfer annotations

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Lionel Landwerlin 2013-09-03 16:17:04 +01:00 committed by Robert Bragg
parent c1597a3364
commit 84bdd679df

View File

@ -221,7 +221,8 @@ typedef enum { /*< prefix=COGL_BUFFER_MAP_HINT >*/
* conflicting with the @access mask you pass. It is also an error to * conflicting with the @access mask you pass. It is also an error to
* release your last reference while the buffer is mapped. * release your last reference while the buffer is mapped.
* *
* Return value: A pointer to the mapped memory or %NULL is the call fails * Return value: (transfer none): A pointer to the mapped memory or
* %NULL is the call fails
* *
* Since: 1.2 * Since: 1.2
* Stability: unstable * Stability: unstable
@ -257,7 +258,8 @@ cogl_buffer_map (CoglBuffer *buffer,
* conflicting with the @access mask you pass. It is also an error to * conflicting with the @access mask you pass. It is also an error to
* release your last reference while the buffer is mapped. * release your last reference while the buffer is mapped.
* *
* Return value: A pointer to the mapped memory or %NULL is the call fails * Return value: (transfer none): A pointer to the mapped memory or
* %NULL is the call fails
* *
* Since: 2.0 * Since: 2.0
* Stability: unstable * Stability: unstable