/[dtapublic]/projs/trunk/shared_source/c_tk_base_7_5_w_mods/xfuncproto.h
ViewVC logotype

Contents of /projs/trunk/shared_source/c_tk_base_7_5_w_mods/xfuncproto.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71 - (show annotations) (download)
Sat Nov 5 11:07:06 2016 UTC (7 years, 11 months ago) by dashley
File MIME type: text/plain
File size: 1763 byte(s)
Set EOL properties appropriately to facilitate simultaneous Linux and Windows development.
1 /* $Header$ */
2
3 /* $XConsortium: Xfuncproto.h,v 1.7 91/05/13 20:49:21 rws Exp $ */
4 /*
5 * Copyright 1989, 1991 by the Massachusetts Institute of Technology
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation for any purpose and without fee is hereby granted, provided
9 * that the above copyright notice appear in all copies and that both that
10 * copyright notice and this permission notice appear in supporting
11 * documentation, and that the name of M.I.T. not be used in advertising
12 * or publicity pertaining to distribution of the software without specific,
13 * written prior permission. M.I.T. makes no representations about the
14 * suitability of this software for any purpose. It is provided "as is"
15 * without express or implied warranty.
16 *
17 */
18
19 /* Definitions to make function prototypes manageable */
20
21 #ifndef _XFUNCPROTO_H_
22 #define _XFUNCPROTO_H_
23
24 #ifndef NeedFunctionPrototypes
25 #define NeedFunctionPrototypes 1
26 #endif /* NeedFunctionPrototypes */
27
28 #ifndef NeedVarargsPrototypes
29 #define NeedVarargsPrototypes 0
30 #endif /* NeedVarargsPrototypes */
31
32 #if NeedFunctionPrototypes
33
34 #ifndef NeedNestedPrototypes
35 #define NeedNestedPrototypes 1
36 #endif /* NeedNestedPrototypes */
37
38 #ifndef _Xconst
39 #define _Xconst const
40 #endif /* _Xconst */
41
42 #ifndef NeedWidePrototypes
43 #ifdef NARROWPROTO
44 #define NeedWidePrototypes 0
45 #else
46 #define NeedWidePrototypes 1 /* default to make interropt. easier */
47 #endif
48 #endif /* NeedWidePrototypes */
49
50 #endif /* NeedFunctionPrototypes */
51
52 #ifdef __cplusplus
53 #define _XFUNCPROTOBEGIN extern "C" {
54 #define _XFUNCPROTOEND }
55 #endif
56
57 #ifndef _XFUNCPROTOBEGIN
58 #define _XFUNCPROTOBEGIN
59 #define _XFUNCPROTOEND
60 #endif /* _XFUNCPROTOBEGIN */
61
62 #endif /* _XFUNCPROTO_H_ */
63
64 /* End of xfuncproto.h */

Properties

Name Value
svn:eol-style native
svn:keywords Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25