Update tk to version 8.5.13
[msysgit.git] / mingw / include / X11 / Xfuncproto.h
blob6d63002efeabf316d56783234c0c2a566eaaa46d
1 /* $XConsortium: Xfuncproto.h,v 1.7 91/05/13 20:49:21 rws Exp $ */
2 /*
3 * Copyright 1989, 1991 by the Massachusetts Institute of Technology
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation for any purpose and without fee is hereby granted, provided
7 * that the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting
9 * documentation, and that the name of M.I.T. not be used in advertising
10 * or publicity pertaining to distribution of the software without specific,
11 * written prior permission. M.I.T. makes no representations about the
12 * suitability of this software for any purpose. It is provided "as is"
13 * without express or implied warranty.
17 /* Definitions to make function prototypes manageable */
19 #ifndef _XFUNCPROTO_H_
20 #define _XFUNCPROTO_H_
22 #ifndef NeedFunctionPrototypes
23 #define NeedFunctionPrototypes 1
24 #endif /* NeedFunctionPrototypes */
26 #ifndef NeedVarargsPrototypes
27 #define NeedVarargsPrototypes 0
28 #endif /* NeedVarargsPrototypes */
30 #if NeedFunctionPrototypes
32 #ifndef NeedNestedPrototypes
33 #define NeedNestedPrototypes 1
34 #endif /* NeedNestedPrototypes */
36 #ifndef _Xconst
37 #define _Xconst const
38 #endif /* _Xconst */
40 #ifndef NeedWidePrototypes
41 #ifdef NARROWPROTO
42 #define NeedWidePrototypes 0
43 #else
44 #define NeedWidePrototypes 1 /* default to make interropt. easier */
45 #endif
46 #endif /* NeedWidePrototypes */
48 #endif /* NeedFunctionPrototypes */
50 #ifdef __cplusplus
51 #define _XFUNCPROTOBEGIN extern "C" {
52 #define _XFUNCPROTOEND }
53 #endif
55 #ifndef _XFUNCPROTOBEGIN
56 #define _XFUNCPROTOBEGIN
57 #define _XFUNCPROTOEND
58 #endif /* _XFUNCPROTOBEGIN */
60 #endif /* _XFUNCPROTO_H_ */