str_buffer_make_owned_clone

Function str_buffer_make_owned_clone 

Source
pub unsafe extern "C" fn str_buffer_make_owned_clone(
    buffer: *mut StrBuffer,
    str_: *const c_char,
) -> *const c_char
Expand description

Makes a owned duplicate of the provided string

§Arguments

  • buffer (direction in) - StrBuffer instance
  • str (direction in) - Input C-style string

§Returns

C-style string that contains to be valid event after str becomes invalid