Function ffizz_string::fz_string_clone
source · #[no_mangle]
pub unsafe extern "C" fn fz_string_clone(
cstr: *const c_char
) -> fz_string_tExpand description
Create a new fz_string_t by cloning the content of the given C string. The resulting fz_string_t is independent of the given string.
Safety
The given pointer must not be NULL.
fz_string_t fz_string_clone(const char *);