1/* Fast lookup table abstraction implemented as an Iteration Number Array
2 Copyright (C) 1989-1998, 2002 Free Software Foundation, Inc.
3 Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
4 and Bruno Haible <bruno@clisp.org>.
5
6 This file is part of GNU GPERF.
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20
21/* Specification. */
22#include "bool-array.h"
23
24#include <stdio.h>
25#include <string.h>
26#include "options.h"
27
28/* Frees this object. */
29Bool_Array::~Bool_Array ()
30{
31 /* Print out debugging diagnostics. */
32 if (option[DEBUG])
33 fprintf (stderr, "\ndumping boolean array information\n"
34 "size = %d\niteration number = %d\nend of array dump\n",
35 _size, _iteration_number);
36 delete[] const_cast<unsigned int *>(_storage_array);
37}
38
39#ifndef __OPTIMIZE__
40
41#define INLINE /* not inline */
42#include "bool-array.icc"
43#undef INLINE
44
45#endif /* not defined __OPTIMIZE__ */
46