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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42 - (show annotations) (download)
Fri Oct 14 01:50:00 2016 UTC (8 years, 1 month ago) by dashley
File MIME type: text/plain
File size: 2153 byte(s)
Move shared source code to commonize.
1 /* $Header: /cvsroot/esrg/sfesrg/esrgpcpj/shared/tk_base/xfuncproto.h,v 1.1.1.1 2001/06/13 05:15:39 dtashley Exp $ */
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
65 /* $History: Xfuncproto.h $
66 *
67 * ***************** Version 1 *****************
68 * User: Dtashley Date: 1/02/01 Time: 3:21a
69 * Created in $/IjuScripter, IjuConsole/Source/Tk Base
70 * Initial check-in.
71 */
72
73 /* End of XFUNCPROTO.H */

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25