1.1 diff -r d47b66e1722f -r 4b8c80d77f76 pdf_name_tree.c 1.2 --- a/pdf_name_tree.c Fri Mar 14 07:08:52 2003 +0000 1.3 +++ b/pdf_name_tree.c Fri Mar 14 08:24:37 2003 +0000 1.4 @@ -2,7 +2,7 @@ 1.5 * tumble: build a PDF file from image files 1.6 * 1.7 * PDF routines 1.8 - * $Id: pdf_name_tree.c,v 1.9 2003/03/13 00:57:05 eric Exp $ 1.9 + * $Id: pdf_name_tree.c,v 1.10 2003/03/14 00:24:37 eric Exp $ 1.10 * Copyright 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -37,31 +37,6 @@ 1.14 #include "pdf_name_tree.h" 1.15 1.16 1.17 -#define MAX_NAME_TREE_NODE_ENTRIES 16 1.18 - 1.19 - 1.20 -struct pdf_name_tree_node 1.21 -{ 1.22 - struct pdf_obj *dict; /* indirect reference */ 1.23 - 1.24 - struct pdf_name_tree_node *parent; /* NULL for root */ 1.25 - bool leaf; 1.26 - 1.27 - int count; /* how many kids or names/numbers are 1.28 - attached to this node */ 1.29 - 1.30 - struct pdf_name_tree_node *kids [MAX_NAME_TREE_NODE_ENTRIES]; /* non-leaf only */ 1.31 - 1.32 - struct pdf_obj *min_key; 1.33 - struct pdf_obj *max_key; 1.34 - 1.35 - /* following fields valid in leaf nodes only: */ 1.36 - 1.37 - struct pdf_obj *keys [MAX_NAME_TREE_NODE_ENTRIES]; 1.38 - struct pdf_obj *values [MAX_NAME_TREE_NODE_ENTRIES]; 1.39 -}; 1.40 - 1.41 - 1.42 struct pdf_name_tree *pdf_new_name_tree (pdf_file_handle pdf_file, 1.43 bool number_tree) 1.44 {