pub unsafe extern "C" fn wxd_CommandEvent_GetString(
event: *const wxd_Event_t,
buffer: *mut c_char,
buffer_len: usize,
) -> c_intExpand description
Get string from wxCommandEvent. Returns the length of the string (excluding null terminator), if any error, -1 returned. If buffer is non-null and buffer_len > 0, copies up to buffer_len - 1 characters and null-terminates. If buffer is null or buffer_len == 0, does not copy anything.