RAPI
|
00001 /* 00002 * R : A Computer Language for Statistical Data Analysis 00003 * Copyright (C) 1998-2006 R Core Team 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, a copy is available at 00017 * https://www.R-project.org/Licenses/ 00018 */ 00019 00020 /* NOTE: 00021 This file exports a part of the current internal parse interface. 00022 It is subject to change at any minor (x.y.0) version of R. 00023 */ 00024 00025 #ifndef R_EXT_PARSE_H_ 00026 #define R_EXT_PARSE_H_ 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00032 /* PARSE_NULL will not be returned by R_ParseVector */ 00033 typedef enum { 00034 PARSE_NULL, 00035 PARSE_OK, 00036 PARSE_INCOMPLETE, 00037 PARSE_ERROR, 00038 PARSE_EOF 00039 } ParseStatus; 00040 00041 SEXP R_ParseVector(SEXP text, int n, ParseStatus * status, SEXP srcfile); 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00047 #endif