summaryrefslogtreecommitdiff
path: root/index.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-12-04 21:12:40 +0000
committerSimon Tatham <anakin@pobox.com>2001-12-04 21:12:40 +0000
commit5e3a21913b6a47e78d3e4edd4238d028b90827b7 (patch)
treecfb3f25b5643cb957014f64aa831c27cf9a308eb /index.c
parent087e9915b987f1cd6eb679521f87fa3e5b2b9d96 (diff)
downloadhalibut-5e3a21913b6a47e78d3e4edd4238d028b90827b7.zip
halibut-5e3a21913b6a47e78d3e4edd4238d028b90827b7.tar.gz
halibut-5e3a21913b6a47e78d3e4edd4238d028b90827b7.tar.bz2
halibut-5e3a21913b6a47e78d3e4edd4238d028b90827b7.tar.xz
This update should bring the Windows Help back end up to
near-complete functionality. All that's missing now is indexing and horizontal rules. [originally from svn r1449]
Diffstat (limited to 'index.c')
-rw-r--r--index.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.c b/index.c
index 89cebb5..3fb45a1 100644
--- a/index.c
+++ b/index.c
@@ -9,8 +9,8 @@
static int compare_tags(void *av, void *bv);
static int compare_entries(void *av, void *bv);
-index *make_index(void) {
- index *ret = mknew(index);
+indexdata *make_index(void) {
+ indexdata *ret = mknew(indexdata);
ret->tags = newtree234(compare_tags);
ret->entries = newtree234(compare_entries);
return ret;
@@ -44,7 +44,7 @@ static int compare_entries(void *av, void *bv) {
* Guarantee on calling sequence: all implicit merges are given
* before the explicit ones.
*/
-void index_merge(index *idx, int is_explicit, wchar_t *tags, word *text) {
+void index_merge(indexdata *idx, int is_explicit, wchar_t *tags, word *text) {
indextag *t, *existing;
/*
@@ -113,7 +113,7 @@ void index_merge(index *idx, int is_explicit, wchar_t *tags, word *text) {
* entries in the original 2-3 tree with pointers to the RHS
* entries.
*/
-void build_index(index *i) {
+void build_index(indexdata *i) {
indextag *t;
word **ta;
int ti;
@@ -140,7 +140,7 @@ void build_index(index *i) {
}
}
-void cleanup_index(index *i) {
+void cleanup_index(indexdata *i) {
indextag *t;
indexentry *ent;
int ti;
@@ -163,7 +163,7 @@ void cleanup_index(index *i) {
static void dbg_prtwordlist(int level, word *w);
static void dbg_prtmerge(int is_explicit, wchar_t *tag, word *text);
-void index_debug(index *i) {
+void index_debug(indexdata *i) {
indextag *t;
indexentry *y;
int ti;