xila_string_duplicate_bounded

Function xila_string_duplicate_bounded 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xila_string_duplicate_bounded( string: *const c_char, max_length: usize, ) -> *mut c_char
Expand description

Duplicate a string up to a maximum length

ยงSafety

This function is unsafe because it dereferences raw pointers.