2015-04-05 22:32:12 +02:00
|
|
|
#ifndef __INTAVLTREE_H
|
|
|
|
#define __INTAVLTREE_H
|
|
|
|
|
|
|
|
#include "avltree.h"
|
|
|
|
|
|
|
|
extern struct avltree * intavltree_create();
|
2015-04-10 17:14:55 +02:00
|
|
|
typedef struct avltree * intavltree_t;
|
2015-04-05 22:32:12 +02:00
|
|
|
int * intavltree_add(struct avltree * t, int val);
|
|
|
|
|
|
|
|
#define intavltree_destroy(t) avltree_destroy(t)
|
|
|
|
#define intavltree_foreach_asc(t,f,p) avltree_foreach_asc(t,f,p)
|
|
|
|
#define intavltree_foreach_desc(t,f,p) avltree_foreach_desc(t,f,p)
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|