artichoke_backend::sys::specifiers

Constant NULLABLE_CSTRING_AND_LEN

Source
pub const NULLABLE_CSTRING_AND_LEN: &str = "s!";
Expand description

Retrieve a CString and its length. Gives (NULL, 0) for nil. Usable like:

mrb_get_args(mrb, "s", &ptr, &plen);