Moved out most ob mavl_ into libmavl.
Current libmavl is here: https://svn.planix.org/rsrch/trunk/libmavl
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user