unsafe extern "C-unwind" fn R_nchar_unchecked(
x: SEXP,
ntype: c_int,
allowNA: Rboolean,
keepNA: Rboolean,
msg_name: *const c_char,
) -> c_intExpand description
Get the number of characters in a string/character.
§Parameters
x: A string SEXPntype: Type of count (0=bytes, 1=chars, 2=width)allowNA: Whether to allow NA valueskeepNA: Whether to keep NA in resultmsg_name: Name for error messages
§Returns
Character count or -1 on error.
Unchecked FFI binding for R_nchar.
Generated from source location line 3678, column 8.
Generated from source file miniextendr-api/src/ffi.rs.