1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #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;
- }
|