|
CXXR (C++ R)
|
#include "CXXR/CachedString.h"#include "CXXR/errors.h"
Namespaces | |
| namespace | CXXR |
Namespace for the CXXR project. | |
Functions | |
| SEXP | Rf_mkCharLenCE (const char *text, int length, cetype_t encoding) |
| Create a CXXR::UncachedString object for specified text and encoding. | |
Variables | |
| int(* | CXXR::ForceNonInline::IS_CACHEDp )(SEXP) = IS_CACHED |
| SEXP(* | CXXR::ForceNonInline::mkCharp )(const char *) = Rf_mkChar |
| SEXP(* | CXXR::ForceNonInline::mkCharCEp )(const char *, cetype_t) = Rf_mkCharCE |
| SEXP(* | CXXR::ForceNonInline::Rf_mkCharLenp )(const char *, int) = Rf_mkCharLen |
| SEXP | R_BlankString = 0 |
Implementation of class CXXR::CachedString and related functions.
| SEXP Rf_mkCharLenCE | ( | const char * | text, |
| int | length, | ||
| cetype_t | encoding | ||
| ) |
Create a CXXR::UncachedString object for specified text and encoding.
| text | The text of the string to be created, possibly including embedded null characters. The encoding is assumed to be CE_NATIVE. |
| length | The length of the string pointed to by text. Must be nonnegative. The created string will comprise the text plus an appended null byte. |
| encoding | The encoding of the required CachedString. Only CE_NATIVE, CE_UTF8 or CE_LATIN1 are permitted in this context (checked). |
1.7.3