summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/htword/WordCaseIsAStatements.h
blob: 2046ee2f9895411c83547a7eb703e9a32d3fc501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Part of the ht://Dig package   <http://www.htdig.org/>
// Copyright (c) 1999-2004 The ht://Dig Group
// For copyright details, see the file COPYING in your distribution
// or the GNU Library General Public License (LGPL) version 2 or later
// <http://www.gnu.org/copyleft/lgpl.html>
//
// switch between unknown numerical types
// example usage:
// --------------------------
//	switch(word_key_info.sort[position].type) 
//	{
//#define STATEMENT(type)  case WORD_ISA_##type:pool_##type[word_key_info.sort[position].index]=val;break
//#include"WordCaseIsAStatements.h"
//	}
// --------------------------
#ifdef WORD_HAVE_TypeA
		STATEMENT(TypeA);
#endif /* WORD_HAVE_TypeA */
#ifdef WORD_HAVE_TypeB
		STATEMENT(TypeB);
#endif /* WORD_HAVE_TypeB */
#ifdef WORD_HAVE_TypeC
		STATEMENT(TypeC);
#endif /* WORD_HAVE_TypeC */
#undef STATEMENT