12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #include "private.h"
- void *
- lub_bintree_find(lub_bintree_t *this,
- const void *clientkey)
- {
- this->root = lub_bintree_splay(this,this->root,clientkey);
-
- if(NULL != this->root)
- {
- if(lub_bintree_compare(this,this->root,clientkey) == 0)
- return lub_bintree_getclientnode(this,this->root);
- }
- return NULL;
- }
|