forked from enlightenment/efl
initial doxy patch for rbtree from vtorri
CEDRIC WRITE DOCS FOR THIS! SVN revision: 52172
This commit is contained in:
parent
527a3f3579
commit
534bd43e9d
|
@ -19,6 +19,14 @@
|
||||||
#ifndef EINA_RBTREE_INLINE_H_
|
#ifndef EINA_RBTREE_INLINE_H_
|
||||||
#define EINA_RBTREE_INLINE_H_
|
#define EINA_RBTREE_INLINE_H_
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup Eina_Rbtree_Group Red-Black tree
|
||||||
|
*
|
||||||
|
* @brief These functions provide Red-Black trees management.
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
static inline Eina_Rbtree *
|
static inline Eina_Rbtree *
|
||||||
eina_rbtree_inline_lookup(const Eina_Rbtree *root, const void *key, int length, Eina_Rbtree_Cmp_Key_Cb cmp, const void *data)
|
eina_rbtree_inline_lookup(const Eina_Rbtree *root, const void *key, int length, Eina_Rbtree_Cmp_Key_Cb cmp, const void *data)
|
||||||
{
|
{
|
||||||
|
@ -35,4 +43,8 @@ eina_rbtree_inline_lookup(const Eina_Rbtree *root, const void *key, int length,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @}
|
||||||
|
*/
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -276,6 +276,14 @@ _eina_rbtree_inline_double_rotation(Eina_Rbtree *node,
|
||||||
* API *
|
* API *
|
||||||
*============================================================================*/
|
*============================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup Eina_Rbtree_Group Red-Black tree
|
||||||
|
*
|
||||||
|
* @brief These functions provide Red-Black trees management.
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
EAPI Eina_Rbtree *
|
EAPI Eina_Rbtree *
|
||||||
eina_rbtree_inline_insert(Eina_Rbtree *root,
|
eina_rbtree_inline_insert(Eina_Rbtree *root,
|
||||||
Eina_Rbtree *node,
|
Eina_Rbtree *node,
|
||||||
|
@ -578,3 +586,7 @@ eina_rbtree_delete(Eina_Rbtree *root, Eina_Rbtree_Free_Cb func, void *data)
|
||||||
eina_rbtree_delete(root->son[1], func, data);
|
eina_rbtree_delete(root->son[1], func, data);
|
||||||
func(root, data);
|
func(root, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @}
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue