mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
friendly form for balance factors
This commit is contained in:
parent
ec7e2af34a
commit
ced7671e5e
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ struct avlnode {
|
|||
#define EH 0
|
||||
#define RH 1
|
||||
|
||||
#define avl_bf2str(bf) ((bf) == -1 ? "LH" : (bf) == 0 ? "EH" : (bf) == 1 ? "RH" : "(unknown)" )
|
||||
|
||||
/* thread bits */
|
||||
#define AVL_THREAD 0
|
||||
#define AVL_CHILD 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue