158551Skris/* Fast lookup table abstraction implemented as an Iteration Number Array
2228060Sbapt   Copyright (C) 1989-1998, 2002 Free Software Foundation, Inc.
3228060Sbapt   Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
4228060Sbapt   and Bruno Haible <bruno@clisp.org>.
558551Skris
6228060Sbapt   This file is part of GNU GPERF.
758551Skris
8228060Sbapt   GNU GPERF is free software; you can redistribute it and/or modify
9228060Sbapt   it under the terms of the GNU General Public License as published by
10228060Sbapt   the Free Software Foundation; either version 2, or (at your option)
11228060Sbapt   any later version.
1258551Skris
13228060Sbapt   GNU GPERF is distributed in the hope that it will be useful,
14228060Sbapt   but WITHOUT ANY WARRANTY; without even the implied warranty of
15228060Sbapt   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16228060Sbapt   GNU General Public License for more details.
1758551Skris
18228060Sbapt   You should have received a copy of the GNU General Public License
19228060Sbapt   along with this program; see the file COPYING.
20228060Sbapt   If not, write to the Free Software Foundation, Inc.,
21228060Sbapt   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
2258551Skris
23228060Sbapt/* Specification. */
2458551Skris#include "bool-array.h"
2558551Skris
2658551Skris#include <stdio.h>
2758551Skris#include <string.h>
2858551Skris#include "options.h"
2958551Skris
30228060Sbapt/* Frees this object.  */
31228060SbaptBool_Array::~Bool_Array ()
3258551Skris{
33228060Sbapt  /* Print out debugging diagnostics. */
3458551Skris  if (option[DEBUG])
3558551Skris    fprintf (stderr, "\ndumping boolean array information\n"
3658551Skris             "size = %d\niteration number = %d\nend of array dump\n",
37228060Sbapt             _size, _iteration_number);
38228060Sbapt  delete[] const_cast<unsigned int *>(_storage_array);
3958551Skris}
4058551Skris
4158551Skris#ifndef __OPTIMIZE__
4258551Skris
4358551Skris#define INLINE /* not inline */
4458551Skris#include "bool-array.icc"
4558551Skris#undef INLINE
4658551Skris
4758551Skris#endif /* not defined __OPTIMIZE__ */
48