blob: 308990a4ccc5c5238ae64185c0db62188c1d1692 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <skalibs/avltree.h>
int avltree_insert (avltree_ref t, unsigned int d)
{
unsigned int i ;
if (!avltree_newnode(t, d, &i)) return 0 ;
avltree_insertnode(t, i) ;
return 1 ;
}
|