mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
Improve some GNode docs
See bug 561248
This commit is contained in:
parent
ac342a8d0c
commit
cc44ef148c
@ -250,7 +250,8 @@ GNode* g_node_last_sibling (GNode *node);
|
|||||||
*
|
*
|
||||||
* Gets the previous sibling of a #GNode.
|
* Gets the previous sibling of a #GNode.
|
||||||
*
|
*
|
||||||
* Returns: the previous sibling of @node, or %NULL if @node is %NULL
|
* Returns: the previous sibling of @node, or %NULL if @node is the first
|
||||||
|
* node or %NULL
|
||||||
*/
|
*/
|
||||||
#define g_node_prev_sibling(node) ((node) ? \
|
#define g_node_prev_sibling(node) ((node) ? \
|
||||||
((GNode*) (node))->prev : NULL)
|
((GNode*) (node))->prev : NULL)
|
||||||
@ -261,7 +262,8 @@ GNode* g_node_last_sibling (GNode *node);
|
|||||||
*
|
*
|
||||||
* Gets the next sibling of a #GNode.
|
* Gets the next sibling of a #GNode.
|
||||||
*
|
*
|
||||||
* Returns: the next sibling of @node, or %NULL if @node is %NULL
|
* Returns: the next sibling of @node, or %NULL if @node is the last node
|
||||||
|
* or %NULL
|
||||||
*/
|
*/
|
||||||
#define g_node_next_sibling(node) ((node) ? \
|
#define g_node_next_sibling(node) ((node) ? \
|
||||||
((GNode*) (node))->next : NULL)
|
((GNode*) (node))->next : NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user