The R Project SVN R

Rev

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

Rev 42402 Rev 42412
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 2000, 2001 The R Development Core Team.
3
 *  Copyright (C) 2000-2007 The R Development Core Team.
4
 *
4
 *
5
 *  This program is free software; you can redistribute it and/or modify
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU Lesser General Public License as published by
6
 *  it under the terms of the GNU Lesser General Public License as published by
7
 *  the Free Software Foundation; either version 2.1 of the License, or
7
 *  the Free Software Foundation; either version 2.1 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 22... Line 22...
22
 
22
 
23
#ifndef USING_R
23
#ifndef USING_R
24
#define USING_R
24
#define USING_R
25
#endif
25
#endif
26
 
26
 
27
#ifdef __cplusplus
-
 
28
extern "C" {
-
 
29
#endif
-
 
30
 
-
 
31
/*
-
 
32
#include <stddef.h>
-
 
33
*/
-
 
34
#ifndef NO_C_HEADERS
27
#ifndef NO_C_HEADERS
35
#include <stdlib.h>
28
#include <stdlib.h>
36
#include <stdio.h>
29
#include <stdio.h>
37
#include <limits.h>
30
#include <limits.h>
38
#include <float.h>
31
#include <float.h>
39
#include <math.h>
32
#include <math.h>
40
#include <errno.h>
33
#include <errno.h>
41
#endif
34
#endif
42
 
35
 
-
 
36
/*
-
 
37
#include <stddef.h>
-
 
38
*/
-
 
39
 
43
#include <Rconfig.h>
40
#include <Rconfig.h>
44
#include <R_ext/Arith.h>      /* R_FINITE, ISNAN, ... */
41
#include <R_ext/Arith.h>      /* R_FINITE, ISNAN, ... */
45
#include <R_ext/Boolean.h>    /* Rboolean type */
42
#include <R_ext/Boolean.h>    /* Rboolean type */
46
#include <R_ext/Complex.h>    /* Rcomplex type */
43
#include <R_ext/Complex.h>    /* Rcomplex type */
47
#include <R_ext/Constants.h>  /* PI, DOUBLE_EPS, etc */
44
#include <R_ext/Constants.h>  /* PI, DOUBLE_EPS, etc */
Line 57... Line 54...
57
typedef double Sfloat;
54
typedef double Sfloat;
58
typedef int Sint;
55
typedef int Sint;
59
#define SINT_MAX INT_MAX
56
#define SINT_MAX INT_MAX
60
#define SINT_MIN INT_MIN
57
#define SINT_MIN INT_MIN
61
 
58
 
-
 
59
#ifdef __cplusplus
-
 
60
extern "C" {
-
 
61
#endif
-
 
62
 
62
void R_FlushConsole(void);
63
void R_FlushConsole(void);
63
/* always declared, but only usable under Win32 and Aqua */
64
/* always declared, but only usable under Win32 and Aqua */
64
void R_ProcessEvents(void);
65
void R_ProcessEvents(void);
65
 
66
 
66
#ifdef __cplusplus
67
#ifdef __cplusplus