about summary refs log tree commit diff
path: root/var_lib_genenet_bnw/localscore/R.h
blob: 5c5696b3402cb6301f474cd3960629e1a1aba420 (plain)
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
/*
 *  R : A Computer Language for Statistical Data Analysis
 *  Copyright (C) 2000-2010 The R Core Team.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation; either version 2.1 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program; if not, a copy is available at
 *  http://www.r-project.org/Licenses/
 */

#ifndef R_R_H
#define R_R_H

#ifndef USING_R
# define USING_R
#endif

#ifndef NO_C_HEADERS
#include <stdlib.h>
#include <stdio.h>  /* Used by several packages, remove in due course */
#include <limits.h> /* for INT_MAX */
#include <math.h>
#endif

#include "Rconfig.h"
#include "Arith.h"      /* R_FINITE, ISNAN, ... */
#include "Boolean.h"    /* Rboolean type */
#include "Complex.h"    /* Rcomplex type */
#include "Constants.h"  /* PI, DOUBLE_EPS, etc */
#include "Error.h"      /* error and warning */
#include "Memory.h"     /* R_alloc and S_alloc */
#include "Print.h"      /* Rprintf etc */
#include "Random.h"     /* RNG interface */
#include "Utils.h"      /* sort routines et al */
#include "RS.h"
/* for PROBLEM ... Calloc, Realloc, Free, Memcpy, F77_xxxx */


typedef double Sfloat;
typedef int Sint;
#define SINT_MAX INT_MAX
#define SINT_MIN INT_MIN

#ifdef __cplusplus
extern "C" {
#endif

void R_FlushConsole(void);
/* always declared, but only usable under Win32 and Aqua */
void R_ProcessEvents(void);

#ifdef __cplusplus
}
#endif

#endif /* !R_R_H */