Skip to content
Commit 2ef57f0a authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

lib/rbtree: Add a rb_contains() predicate



Returns true if the specified node is in the tree.  Allows the tree to
be used for "set" style semantics along with a lessthan_fn that simply
compares the nodes by their address.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent c625ab85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment