cef_string_wide_t

Type Alias cef_string_wide_t 

Source
pub type cef_string_wide_t = _cef_string_wide_t;
Expand description

CEF string type definitions. Whomever allocates |str| is responsible for providing an appropriate |dtor| implementation that will free the string in the same memory space. When reusing an existing string structure make sure to call |dtor| for the old value before assigning new |str| and |dtor| values. Static strings will have a NULL |dtor| value. Using the below functions if you want this managed for you.

Aliased Type§

#[repr(C)]
pub struct cef_string_wide_t { pub str_: *mut i32, pub length: usize, pub dtor: Option<unsafe extern "C" fn(*mut i32)>, }

Fields§

§str_: *mut i32§length: usize§dtor: Option<unsafe extern "C" fn(*mut i32)>