Skip to main content

nova_rt_str_concat

Function nova_rt_str_concat 

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

Concatenate two strings into a new string value.

GC safety: a’s and b’s bytes are read after the result’s buffer is allocated, kept alive across it as [gc_str_filled] describes.

§Safety

a and b must be valid NovaStr pointers.