diff options
Diffstat (limited to 'source3/ubiqx/ubi_SplayTree.h')
-rw-r--r-- | source3/ubiqx/ubi_SplayTree.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/ubiqx/ubi_SplayTree.h b/source3/ubiqx/ubi_SplayTree.h index 0b62f7f7e7..e4fac796a9 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 ================================= */ |