turns printfs back on
[freebsd-src/fkvm-freebsd.git] / contrib / gperf / src / bool-array.cc
blob0774b2d65265e0bee116d9c704b1322188cf01e7
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 (schmidt@ics.uci.edu)
5 This file is part of GNU GPERF.
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.
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.
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. */
21 #include "bool-array.h"
23 #include <stdio.h>
24 #include <string.h>
25 #include "options.h"
26 #include "trace.h"
28 STORAGE_TYPE * Bool_Array::storage_array;
29 STORAGE_TYPE Bool_Array::iteration_number;
30 unsigned int Bool_Array::size;
32 /* Prints out debugging diagnostics. */
34 Bool_Array::~Bool_Array (void)
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);
43 #ifndef __OPTIMIZE__
45 #define INLINE /* not inline */
46 #include "bool-array.icc"
47 #undef INLINE
49 #endif /* not defined __OPTIMIZE__ */