summaryrefslogtreecommitdiffstats
path: root/source3/ubiqx/ubi_SplayTree.h
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2000-06-08 17:29:05 +0000
committerChristopher R. Hertel <crh@samba.org>2000-06-08 17:29:05 +0000
commit1be87441fe46b82fbb78aa99e8d00064961e5b65 (patch)
treef6f03898b2edf60733182aae2519d2f8ab4388d9 /source3/ubiqx/ubi_SplayTree.h
parent84d40095e1d7ba5c66cabfd2d41012162d652970 (diff)
downloadsamba-1be87441fe46b82fbb78aa99e8d00064961e5b65.tar.gz
samba-1be87441fe46b82fbb78aa99e8d00064961e5b65.tar.xz
samba-1be87441fe46b82fbb78aa99e8d00064961e5b65.zip
Bringing these up to date with what I've got on my site. The fixes include
the change that prevents 'insure' from becomming confused and issuing leak reports. Some minor speed fixes. That sort of thing. Chris -)----- (This used to be commit 164cc91d81f691f1ba4f16ba203230f745ee73dc)
Diffstat (limited to 'source3/ubiqx/ubi_SplayTree.h')
-rw-r--r--source3/ubiqx/ubi_SplayTree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/ubiqx/ubi_SplayTree.h b/source3/ubiqx/ubi_SplayTree.h
index 0b62f7f7e79..e4fac796a91 100644
--- a/source3/ubiqx/ubi_SplayTree.h
+++ b/source3/ubiqx/ubi_SplayTree.h
@@ -39,6 +39,9 @@
* -------------------------------------------------------------------------- **
*
* Log: ubi_SplayTree.h,v
+ * Revision 4.5 2000/01/08 23:26:49 crh
+ * Added ubi_trSplay() macro, which does a type cast for us.
+ *
* Revision 4.4 1998/06/04 21:29:27 crh
* Upper-cased defined constants (eg UBI_BINTREE_H) in some header files.
* This is more "standard", and is what people expect. Weird, eh?
@@ -365,6 +368,9 @@ int ubi_sptModuleID( int size, char *list[] );
#define ubi_trFind( Rp, Ip ) \
ubi_sptFind( (ubi_btRootPtr)(Rp), (ubi_btItemPtr)(Ip) )
+#define ubi_trSplay( Rp, Sm ) \
+ ubi_sptSplay( (ubi_btRootPtr)(Rp), (ubi_btNodePtr)(Sm) )
+
#define ubi_trModuleID( s, l ) ubi_sptModuleID( s, l )
/* ================================ The End ================================= */