pdf_name_tree.c

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