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

@ -1,10 +1,11 @@
#include "mavl.h"
#include "mavltypes.h"
void * mavl_get_ptr(mavl_t tree, void * search)
{
void * result;
result = mavl_find(tree,&search);
result = mavl_get(tree,&search);
if (result)
return *(void**)result;
return NULL;