mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
Add gobject-introspection annotations
Add annotations such as (transfer-none) (out) (element-type ClutterActor), and so forth to the doc comments as appropriate. The annotations added here are a combination of the annotations previously in gir-repository for Clutter and annotations found in a review of all return values with that were being parsed with a transfer of "full". http://bugzilla.openedhand.com/show_bug.cgi?id=1452 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:

committed by
Emmanuele Bassi

parent
1d68dcab1f
commit
c5afd98416
@ -158,7 +158,7 @@ json_node_take_object (JsonNode *node,
|
||||
*
|
||||
* Retrieves the #JsonObject stored inside a #JsonNode
|
||||
*
|
||||
* Return value: the #JsonObject
|
||||
* Return value: (transfer none): the #JsonObject
|
||||
*/
|
||||
JsonObject *
|
||||
json_node_get_object (JsonNode *node)
|
||||
@ -243,7 +243,7 @@ json_node_take_array (JsonNode *node,
|
||||
*
|
||||
* Retrieves the #JsonArray stored inside a #JsonNode
|
||||
*
|
||||
* Return value: the #JsonArray
|
||||
* Return value: (transfer none): the #JsonArray
|
||||
*/
|
||||
JsonArray *
|
||||
json_node_get_array (JsonNode *node)
|
||||
@ -391,7 +391,7 @@ json_node_type_name (JsonNode *node)
|
||||
*
|
||||
* Retrieves the parent #JsonNode of @node.
|
||||
*
|
||||
* Return value: the parent node, or %NULL if @node is the root node
|
||||
* Return value: (transfer none): the parent node, or %NULL if @node is the root node
|
||||
*/
|
||||
JsonNode *
|
||||
json_node_get_parent (JsonNode *node)
|
||||
|
Reference in New Issue
Block a user