The R Project SVN R

Rev

Rev 87951 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87951 Rev 88052
Line 23... Line 23...
23
 
23
 
24
/* Included by R.h: API */
24
/* Included by R.h: API */
25
 
25
 
26
#ifndef R_EXT_BOOLEAN_H_
26
#ifndef R_EXT_BOOLEAN_H_
27
#define R_EXT_BOOLEAN_H_
27
#define R_EXT_BOOLEAN_H_
-
 
28
#if !defined(R_INCLUDE_BOOLEAN_H) || R_INCLUDE_BOOLEAN_H
28
 
29
 
29
// NB: there is a version of this in Rmath.h0[.in]
30
// NB: there is a version of this in Rmath.h0[.in]
30
 
31
 
31
#undef FALSE
32
#undef FALSE
32
#undef TRUE
33
#undef TRUE
Line 71... Line 72...
71
#endif
72
#endif
72
#ifdef  __cplusplus
73
#ifdef  __cplusplus
73
}
74
}
74
#endif
75
#endif
75
 
76
 
-
 
77
#else
-
 
78
/* The Rbolean type is used in too many R headers to condition them
-
 
79
 * all.  However, people defining R_INCLUDE_BOOLEAN_H=0 should not be
-
 
80
 * using it in their own code, and its base type is expected to be int
-
 
81
 * (and guaranteed to be on most platforms as from R 4.5.0). */
-
 
82
 
-
 
83
    typedef Rboolean int;
-
 
84
#endif /* R_INCLUDE_BOOLEAN_H = 0 */
76
#endif /* R_EXT_BOOLEAN_H_ */
85
#endif /* R_EXT_BOOLEAN_H_ */