wxd_TextDataObject_GetText

Function wxd_TextDataObject_GetText 

Source
pub unsafe extern "C" fn wxd_TextDataObject_GetText(
    data_object: *const wxd_TextDataObject_t,
    buffer: *mut c_char,
    buffer_len: usize,
) -> c_int
Expand description

Gets the text from the data object. Returns the length of the text retrieved (not including the null terminator). If buffer is not null and buffer_len is non-zero, copies up to buffer_len-1 characters into buffer, null-terminating it.