Statistics
| Revision:

root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / include / R_ext / Parse.h @ 2486

History | View | Annotate | Download (1.3 kB)

1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1998-2006 R Core Team
4
 *
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU General Public License as published by
7
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  (at your option) any later version.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, a copy is available at
17
 *  http://www.r-project.org/Licenses/
18
 */
19

    
20
/* NOTE:
21
   This file exports a part of the current internal parse interface.
22
   It is subject to change at any minor (x.y.0) version of R.
23
 */
24

    
25
#ifndef R_EXT_PARSE_H_
26
#define R_EXT_PARSE_H_
27

    
28
#ifdef __cplusplus
29
extern "C" {
30
#endif
31

    
32
/* PARSE_NULL will not be returned by R_ParseVector */
33
typedef enum {
34
    PARSE_NULL,
35
    PARSE_OK,
36
    PARSE_INCOMPLETE,
37
    PARSE_ERROR,
38
    PARSE_EOF
39
} ParseStatus;
40

    
41
SEXP R_ParseVector(SEXP, int, ParseStatus *, SEXP);
42

    
43
#ifdef __cplusplus
44
}
45
#endif
46

    
47
#endif