diff options
| author | Simon Tatham <anakin@pobox.com> | 2001-12-04 18:20:21 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2001-12-04 18:20:21 +0000 |
| commit | ec2134d20f485b8fbf75632edf895f3aa9073227 (patch) | |
| tree | 33bcd37acbfc0780aa728db8937dd019696b5bdf /buttress.h | |
| parent | 66603b8a306828ce5199c843bdd9261608d7f269 (diff) | |
| download | halibut-ec2134d20f485b8fbf75632edf895f3aa9073227.zip halibut-ec2134d20f485b8fbf75632edf895f3aa9073227.tar.gz halibut-ec2134d20f485b8fbf75632edf895f3aa9073227.tar.bz2 halibut-ec2134d20f485b8fbf75632edf895f3aa9073227.tar.xz | |
Replace Buttress's old tree23 routines with my shiny new counted
tree234 routines; they will be useful in the WinHelp stuff at least.
[originally from svn r1444]
Diffstat (limited to 'buttress.h')
| -rw-r--r-- | buttress.h | 21 |
1 files changed, 4 insertions, 17 deletions
@@ -21,6 +21,8 @@ /* For suppressing unused-parameter warnings */ #define IGNORE(x) ( (x) = (x) ) +#include "tree234.h" + /* * Structure tags */ @@ -36,7 +38,6 @@ typedef struct index_Tag index; typedef struct indextag_Tag indextag; typedef struct indexentry_Tag indexentry; typedef struct macrostack_Tag macrostack; -typedef struct tree23_Tag tree23; /* * Data structure to hold a file name and index, a line and a @@ -338,8 +339,8 @@ void subst_keywords(paragraph *, keywordlist *); * Data structure to hold both sides of the index. */ struct index_Tag { - tree23 *tags; /* holds type `indextag' */ - tree23 *entries; /* holds type `indexentry' */ + tree234 *tags; /* holds type `indextag' */ + tree234 *entries; /* holds type `indexentry' */ }; /* @@ -391,20 +392,6 @@ struct userstyle_Tag { }; /* - * tree23.c - */ -typedef struct enum23_Tag { - void *node; - int posn; -} enum23; -tree23 *newtree23(void); -void freetree23(tree23 *); -void *add23(tree23 *, void *, int (*cmp)(void *, void *)); -void *find23(tree23 *, void *, int (*cmp)(void *, void *)); -void *first23(tree23 *, enum23 *); -void *next23(enum23 *); - -/* * bk_text.c */ void text_backend(paragraph *, keywordlist *, index *); |