home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / gnu / gperf.lzh / GPERF / VECTORS.H < prev    next >
C/C++ Source or Header  |  1993-07-30  |  1KB  |  35 lines

  1. #include <stdio.h>
  2.  
  3. /* This may look like C code, but it is really -*- C++ -*- */
  4.  
  5. /* Static class data members that are shared between several classes via
  6.    inheritance.
  7.  
  8.    Copyright (C) 1989 Free Software Foundation, Inc.
  9.    written by Douglas C. Schmidt (schmidt@ics.uci.edu)
  10.  
  11. This file is part of GNU GPERF.
  12.  
  13. GNU GPERF is free software; you can redistribute it and/or modify
  14. it under the terms of the GNU General Public License as published by
  15. the Free Software Foundation; either version 1, or (at your option)
  16. any later version.
  17.  
  18. GNU GPERF is distributed in the hope that it will be useful,
  19. but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  21. GNU General Public License for more details.
  22.  
  23. You should have received a copy of the GNU General Public License
  24. along with GNU GPERF; see the file COPYING.  If not, write to
  25. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  26.  
  27. #pragma once
  28.  
  29. struct Vectors
  30. {
  31.   const int    ALPHA_SIZE = 128;
  32.   static int   occurrences[ALPHA_SIZE]; /* Counts occurrences of each key set character. */
  33.   static int   asso_values[ALPHA_SIZE]; /* Value associated with each character. */
  34. };
  35.