MCPcopy Create free account
hub / github.com/apache/arrow / r_string_size

Function r_string_size

r/src/arrow_cpp11.h:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121inline const char* utf8_string(SEXP s) { return Rf_translateCharUTF8(s); }
122
123inline R_xlen_t r_string_size(SEXP s) {
124 if (s == NA_STRING) {
125 return 0;
126 } else {
127 return strlen(Rf_translateCharUTF8(s));
128 }
129}
130
131} // namespace unsafe
132

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected