commit | 2ef57f0a1b2f4c82e4bb0d84f704ab02aa235b4c | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Tue Apr 10 08:54:04 2018 -0700 |
committer | Anas Nashif <nashif@linux.intel.com> | Tue Apr 10 12:31:51 2018 -0400 |
tree | 7d3bdbfcc2451f321335dda2317810663ac984b5 | |
parent | c625ab85d41c1464615d72a50b10b1ec07829cb3 [diff] |
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: Andy Ross <andrew.j.ross@intel.com>