forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.h
More file actions
100 lines (90 loc) · 2.42 KB
/
basic.h
File metadata and controls
100 lines (90 loc) · 2.42 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#ifndef BASIC_H
#define BASIC_H
/*
* This work was supported by the United States Government, and is
* not subject to copyright.
*
* $Log: basic.h,v $
* Revision 1.8 1997/10/22 16:06:28 sauderd
* Added a help for the Centerline C compiler. It doesn't define __STDC__ but
* it does understand prototypes (which is required to build the express toolkit)
* The standard prototypes aren't turned on unless __STDC__ is turned on. I
* changed it so that it is turned on for Centerline.
*
* Revision 1.7 1996/12/18 20:50:29 dar
* updated for C++ compatibility
*
* Revision 1.6 1994/05/11 19:51:39 libes
* numerous fixes
*
* Revision 1.5 1993/10/15 18:49:23 libes
* CADDETC certified
*
* Revision 1.4 1993/03/22 18:07:15 libes
* deleted MIN/MAX. Not used, and wrong to boot.
*
* Revision 1.3 1993/01/19 22:45:07 libes
* *** empty log message ***
*
* Revision 1.2 1992/08/18 17:15:40 libes
* rm'd extraneous error messages
*
* Revision 1.1 1992/05/28 03:56:02 libes
* Initial revision
*
* Revision 1.3 1992/02/12 07:06:15 libes
* do sub/supertype
*
* Revision 1.2 1992/02/09 00:47:45 libes
* does ref/use correctly
*
* Revision 1.1 1992/02/05 08:40:30 libes
* Initial revision
*
* Revision 1.1 1992/01/22 02:17:49 libes
* Initial revision
*
* Revision 1.5 1992/01/15 19:49:04 shepherd
* Commented out text after #else and #endif.
*
* Revision 1.2 91/01/14 13:34:14 silver
* moeimodified to remove ANSI C compiler warning messages from the
* preprocessor directives.
*
* Revision 1.1 91/01/09 15:25:16 laurila
* Initial revision
*
* Revision 1.3 90/09/25 10:01:36 clark
* Beta checkin at SCRA
*
* Revision 1.3 90/09/25 10:01:36 clark
* Put wrapper around static_inline stuff,
* checking for previous definition.
*
* Revision 1.2 90/09/04 15:05:51 clark
* BPR 2.1 alpha
*
* Revision 1.1 90/06/11 17:04:56 clark
* Initial revision
*
*/
#include "config.h"
#include <sc_export.h>
#include <stdio.h>
/******************************/
/* type Boolean and constants */
/******************************/
#ifdef HAVE_STDBOOL_H
# include <stdbool.h>
#else
# include <stdbool.h>
#endif
#if defined(_MSC_VER) && (_MSC_VER < 1900) && !defined(__cplusplus)
#define inline __inline
#endif
/**************************/
/* function pointer types */
/**************************/
typedef void ( *voidFuncptr )();
typedef int ( *intFuncptr )();
#endif /* BASIC_H */