Rcpp Version 1.0.9
message.h
Go to the documentation of this file.
1
2
// message.h: Rcpp R/C++ interface class library -- Wrapper for base::message
3
//
4
// Copyright (C) 2021 Dirk Eddelbuettel
5
//
6
// This file is part of Rcpp.
7
//
8
// Rcpp is free software: you can redistribute it and/or modify it
9
// under the terms of the GNU General Public License as published by
10
// the Free Software Foundation, either version 2 of the License, or
11
// (at your option) any later version.
12
//
13
// Rcpp is distributed in the hope that it will be useful, but
14
// WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
// GNU General Public License for more details.
17
//
18
// You should have received a copy of the GNU General Public License
19
// along with Rcpp. If not, see <http://www.gnu.org/licenses/>.
20
21
#ifndef Rcpp_api_meat_message_h
22
#define Rcpp_api_meat_message_h
23
24
namespace
Rcpp
{
25
26
inline
void
message
(SEXP s) {
27
Rcpp::Function
msg =
Rcpp::Environment::base_env
()[
"message"
];
28
msg(s);
29
}
30
31
}
32
33
#endif
Rcpp
Rcpp API.
Definition:
algo.h:28
Rcpp::Function
Function_Impl< PreserveStorage > Function
Definition:
Function.h:122
Rcpp::message
void message(SEXP s)
Definition:
message.h:26
Rcpp::base_env
static Environment_Impl base_env()
Definition:
Environment.h:346
inst
include
Rcpp
api
meat
message.h
Generated on Sat Jul 9 2022 09:14:51 for Rcpp Version 1.0.9 by
1.9.1