Function ffizz_string::fz_string_clone
source · pub unsafe 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.
The resulting fz_string_t must be freed.
fz_string_t fz_string_clone(const char *);