Type Alias r2r_rcl::rcl_allocator_t
source · pub type rcl_allocator_t = rcutils_allocator_t;
Aliased Type§
struct rcl_allocator_t {
pub allocate: Option<unsafe extern "C" fn(_: usize, _: *mut c_void) -> *mut c_void>,
pub deallocate: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>,
pub reallocate: Option<unsafe extern "C" fn(_: *mut c_void, _: usize, _: *mut c_void) -> *mut c_void>,
pub zero_allocate: Option<unsafe extern "C" fn(_: usize, _: usize, _: *mut c_void) -> *mut c_void>,
pub state: *mut c_void,
}
Fields§
§allocate: Option<unsafe extern "C" fn(_: usize, _: *mut c_void) -> *mut c_void>
§deallocate: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void)>
§reallocate: Option<unsafe extern "C" fn(_: *mut c_void, _: usize, _: *mut c_void) -> *mut c_void>
§zero_allocate: Option<unsafe extern "C" fn(_: usize, _: usize, _: *mut c_void) -> *mut c_void>
§state: *mut c_void