File: funcproto.h

package info (click to toggle)
elk 3.0-6
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 4,068 kB
  • ctags: 3,123
  • sloc: ansic: 20,686; lisp: 5,232; makefile: 419; awk: 91; sh: 21
file content (39 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (3)
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
/* These definitions are not tunable.  Do not change them.
 */


#if __STDC__ || defined(__cplusplus)
#  undef WANT_PROTOTYPES
#endif

#ifdef WANT_PROTOTYPES
#  define ELK_USE_PROTOTYPES
#  define ELLIPSIS
#endif

#ifdef __cplusplus
#  define ELK_USE_PROTOTYPES
#  define ELLIPSIS ...
#  define C_LINKAGE_BEGIN extern "C" {
#  define C_LINKAGE_END   }
#else
#  define C_LINKAGE_BEGIN
#  define C_LINKAGE_END
#endif

#if __STDC__ && !defined(__cplusplus)
#  define ELK_USE_PROTOTYPES
#  define ELLIPSIS
#endif

#ifdef NO_PROTOTYPES
#  undef ELK_USE_PROTOTYPES
#endif

#ifdef ELK_USE_PROTOTYPES
#  define P_(args) args
#else
#  define P_(args) ()
#  define ELLIPSIS
#  define const
#endif