Skip to main content

nova_rt_str_to_upper

Function nova_rt_str_to_upper 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn nova_rt_str_to_upper( s: *const NovaStr, ) -> *mut NovaStr
Expand description

Uppercase s with full Unicode case mapping.

Whole-string rather than Char → Char because the mapping is not 1:1 — ß uppercases to SS — so a per-character signature could not express it and would silently corrupt such input.

§Safety

s must point to a valid NovaStr.