summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/rte/ordrules/mkind.h
blob: 2defd7077fa340845c8bbe1b1674be24383b0a41 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
  $Id: mkind.h,v 1.2 1999/07/30 08:35:38 kehr Exp $

  This is the minimum excerpt form the original `mkind.h' of the
  makeindex-3 system making the modified version of ordrules compile.

  */

#include <stdio.h>
#include <stdlib.h>

#ifndef _MKIND_H
#define _MKIND_H

#ifndef PROTO
#define PROTO( x ) x
#endif

#if    ANSI_PROTOTYPES
#define ARGS(arg_list)	arg_list
#define VOIDP		void*
#else
#define ARGS(arg_list)	()
#define const
#define VOIDP		char*
#endif

#define SIZE_T  unsigned

#undef TRUE
#define TRUE 1

#undef FALSE
#define FALSE 0

#ifndef STRING_MAX
/* T. Henlich reported a bug that was caused by the 128Byte limit
   here, which was too small for his applications. Stupid thing,
   really took me 1.5 hours to find it ;-(
*/

#define STRING_MAX    1024   /* 128 */
#endif

#define BSH '\\'

#undef NUL
#define NUL '\0'

extern VOIDP fmalloc ARGS((SIZE_T size));

#endif /* _MKIND_H */


/*
  $Log: mkind.h,v $
  Revision 1.2  1999/07/30 08:35:38  kehr
  Lifted length of STRING_MAX to 4096. Caused bugs in Linux as reported
  by T. Henlich.

  Revision 1.1  1996/03/27  20:29:05  kehr
  It works. Today I had my first success in getting the FFI running with
  the ordrules-library. The interface is defined in `ordrulei.lsp' and
  allows direct access to the functions in `ordrules.c'.


  */