Moved out most ob mavl_ into libmavl.

Current libmavl is here:
https://svn.planix.org/rsrch/trunk/libmavl
This commit is contained in:
2022-07-18 01:15:17 +02:00
parent 1734000f41
commit 8d09b1d596
46 changed files with 94 additions and 1370 deletions

View File

@ -3,7 +3,7 @@
void *mavl_replace(struct mavl *t,const void *data, int * replaced){
int exists;
void * add = mavl_add(t,data,&exists);
void * add = mavl_insert(t,data,&exists);
if (replaced != NULL){
*replaced = exists;
@ -31,7 +31,7 @@ void *mavl_replace(struct mavl *t,const void *data, int * replaced){
// return &node->data;
return mavlnode_dataptr(node);
}
return mavl_add(t,data);
return mavl_insert(t,data);
*/
}