diff options
Diffstat (limited to 'Master/texmf-dist/source/fonts/malayalam/preproc/avltree.h')
-rw-r--r-- | Master/texmf-dist/source/fonts/malayalam/preproc/avltree.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/Master/texmf-dist/source/fonts/malayalam/preproc/avltree.h b/Master/texmf-dist/source/fonts/malayalam/preproc/avltree.h deleted file mode 100644 index fc4cee88bc9..00000000000 --- a/Master/texmf-dist/source/fonts/malayalam/preproc/avltree.h +++ /dev/null @@ -1,44 +0,0 @@ -/*+ - AVLtree.h header file for generic binairy-tree package - - (c) Jeroen Hellingman, 1 dec 1989. - --*/ - -#ifndef AVLTREE_HEADER_READ -#define AVLTREE_HEADER_READ - -/* return values */ - -#define AVL_OK 0 -#define AVL_ERROR 1 -#define AVL_NO_MEM 2 -#define AVL_DUP 3 -#define AVL_NO_DEL 4 - -/* AVLtree structure */ - -typedef struct AVLtree AVLtree; - -struct AVLtree -{ void *element; - char balance; - AVLtree *left; - AVLtree *right; -}; - -/* ANSI C prototypes */ - -int AVLinsert(const void *element,AVLtree **root,int (*cmp)(void*, void*)); -int AVLdelete(const void *element,AVLtree **root,int (*cmp)(void*, void*),void (*del)(void*)); - -void *AVLfind(const void *element,AVLtree *root,int (*cmp)(void*, void*)); - -/* traversal routines */ - -void AVLpreorder(AVLtree *root, void (*func)(void*)); -void AVLinorder(AVLtree *root,void (*func)(void*)); -void AVLpostorder(AVLtree *root,void (*func)(void*)); - -#endif -/* end of AVLtree.h */ |