CXXR (C++ R)
|
Implementation of class CXXR::Promise and associated C interface. More...
#include "CXXR/Promise.h"
#include "localization.h"
#include "R_ext/Error.h"
#include "CXXR/Bailout.hpp"
#include "CXXR/GCStackRoot.hpp"
#include "CXXR/PlainContext.hpp"
Namespaces | |
namespace | CXXR |
Namespace for the CXXR project. |
Functions | |
SEXP | Rf_mkPROMISE (SEXP expr, SEXP rho) |
Create a CXXR::Promise object. | |
void | SET_PRVALUE (SEXP x, SEXP v) |
Set the value of a CXXR::Promise. |
Variables | |
SEXP(* | CXXR::ForceNonInline::PRCODEp )(SEXP x) = PRCODE |
SEXP(* | CXXR::ForceNonInline::PRENVp )(SEXP x) = PRENV |
SEXP(* | CXXR::ForceNonInline::PRVALUEp )(SEXP x) = PRVALUE |
Implementation of class CXXR::Promise and associated C interface.
Create a CXXR::Promise object.
expr | Expression to be evaluated to provide the value of the CXXR::Promise. |
env | CXXR::Environment in which expr is to be evaluated. |
Set the value of a CXXR::Promise.
Once the value is set to something other than R_UnboundValue, the environment pointer is set null.
x | Pointer to a CXXR::Promise (checked). |
v | Pointer to the value to be assigned to the promise. |