158551Skris/* Fast lookup table abstraction implemented as an Iteration Number Array
2230237Sbapt   Copyright (C) 1989-1998, 2002 Free Software Foundation, Inc.
3230237Sbapt   Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
4230237Sbapt   and Bruno Haible <bruno@clisp.org>.
558551Skris
6230237Sbapt   This file is part of GNU GPERF.
758551Skris
8230237Sbapt   GNU GPERF is free software; you can redistribute it and/or modify
9230237Sbapt   it under the terms of the GNU General Public License as published by
10230237Sbapt   the Free Software Foundation; either version 2, or (at your option)
11230237Sbapt   any later version.
1258551Skris
13230237Sbapt   GNU GPERF is distributed in the hope that it will be useful,
14230237Sbapt   but WITHOUT ANY WARRANTY; without even the implied warranty of
15230237Sbapt   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16230237Sbapt   GNU General Public License for more details.
1758551Skris
18230237Sbapt   You should have received a copy of the GNU General Public License
19230237Sbapt   along with this program; see the file COPYING.
20230237Sbapt   If not, write to the Free Software Foundation, Inc.,
21230237Sbapt   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
2258551Skris
23230237Sbapt/* Specification. */
2458551Skris#include "bool-array.h"
2558551Skris
2658551Skris#include <stdio.h>
2758551Skris#include <string.h>
2858551Skris#include "options.h"
2958551Skris
30230237Sbapt/* Frees this object.  */
31230237SbaptBool_Array::~Bool_Array ()
3258551Skris{
33230237Sbapt  /* 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",
37230237Sbapt             _size, _iteration_number);
38230237Sbapt  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