CXXR (C++ R) API
errors.h
Go to the documentation of this file.
1 /*CXXR $Id: errors.h 1348 2013-02-25 17:49:03Z arr $
2  *CXXR
3  *CXXR This file is part of CXXR, a project to refactor the R interpreter
4  *CXXR into C++. It may consist in whole or in part of program code and
5  *CXXR documentation taken from the R project itself, incorporated into
6  *CXXR CXXR (and possibly MODIFIED) under the terms of the GNU General Public
7  *CXXR Licence.
8  *CXXR
9  *CXXR CXXR is Copyright (C) 2008-13 Andrew R. Runnalls, subject to such other
10  *CXXR copyrights and copyright restrictions as may be stated below.
11  *CXXR
12  *CXXR CXXR is not part of the R project, and bugs and other issues should
13  *CXXR not be reported via r-bugs or other R project channels; instead refer
14  *CXXR to the CXXR website.
15  *CXXR */
16 
17 /*
18  * R : A Computer Language for Statistical Data Analysis
19  * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
20  * Copyright (C) 1999-2006 The R Development Core Team.
21  * Andrew Runnalls (C) 2008
22  *
23  * This program is free software; you can redistribute it and/or modify
24  * it under the terms of the GNU General Public License as published by
25  * the Free Software Foundation; either version 2.1 of the License, or
26  * (at your option) any later version.
27  *
28  * This program is distributed in the hope that it will be useful,
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31  * GNU Lesser General Public License for more details.
32  *
33  * You should have received a copy of the GNU General Public License
34  * along with this program; if not, a copy is available at
35  * http://www.r-project.org/Licenses/
36  */
37 
44 #ifndef CXXR_ERRORS_H
45 #define CXXR_ERRORS_H
46 
47 #include "R_ext/Error.h"
48 #include "localization.h"
49 #include "CXXR/RObject.h"
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55  void R_CheckStack(void);
56  void Rf_errorcall(SEXP, const char *, ...);
57  void Rf_warningcall(SEXP, const char *, ...);
58 
59  /* Find a better home for the following in due course! */
60  void R_CheckUserInterrupt(void);
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif /* CXXR_ERRORS_H */