1 /* Fast lookup table abstraction implemented as an Iteration Number Array 2 Copyright (C) 1989-1998 Free Software Foundation, Inc. 3 written by Douglas C. Schmidt ([email protected]) 4 5 This file is part of GNU GPERF. 6 7 GNU GPERF is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 1, or (at your option) 10 any later version. 11 12 GNU GPERF is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with GNU GPERF; see the file COPYING. If not, write to the Free 19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ 20 21 #include "bool-array.h" 22 23 #include <stdio.h> 24 #include <string.h> 25 #include "options.h" 26 #include "trace.h" 27 28 STORAGE_TYPE * Bool_Array::storage_array; 29 STORAGE_TYPE Bool_Array::iteration_number; 30 unsigned int Bool_Array::size; 31 32 /* Prints out debugging diagnostics. */ 33 34 Bool_Array::~Bool_Array (void) 35 { 36 T (Trace t ("Bool_Array::~Bool_Array");) 37 if (option[DEBUG]) 38 fprintf (stderr, "\ndumping boolean array information\n" 39 "size = %d\niteration number = %d\nend of array dump\n", 40 size, iteration_number); 41 } 42 43 #ifndef __OPTIMIZE__ 44 45 #define INLINE /* not inline */ 46 #include "bool-array.icc" 47 #undef INLINE 48 49 #endif /* not defined __OPTIMIZE__ */ 50