CXXR (C++ R) API
uncxxr.h
Go to the documentation of this file.
1 /*CXXR $Id: uncxxr.h 1353 2013-03-18 16:59:38Z 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 
33 #ifndef UNCXXR_H
34 #define UNCXXR_H
35 
38 #define CXXRBUILTINFUNCTION BuiltInFunction
39 
47 #define CXXRCONST const
48 
54 #define CXXRCONSTRUCT(type, expr) type(expr)
55 
61 #define CXXRCCAST(type, expr) const_cast<type>(expr)
62 
68 #define CXXRSCAST(type, expr) static_cast<type>(expr)
69 
75 #define CXXRFALSE FALSE
76 
84 #define CXXRNOCAST(t)
85 
91 #define CXXRTRUE TRUE
92 
98 #define CXXRUNSIGNED unsigned
99 
100 #endif /* UNCXXR_H */