Struct capstone_sys::cs_opt_mem [−][src]
#[repr(C)]pub struct cs_opt_mem { pub malloc: cs_malloc_t, pub calloc: cs_calloc_t, pub realloc: cs_realloc_t, pub free: cs_free_t, pub vsnprintf: cs_vsnprintf_t, }
User-defined dynamic memory related functions: malloc/calloc/realloc/free/vsnprintf()
By default, Capstone uses system's malloc(), calloc(), realloc(), free() & vsnprintf().
Fields
malloc: cs_malloc_t
calloc: cs_calloc_t
realloc: cs_realloc_t
free: cs_free_t
vsnprintf: cs_vsnprintf_t
Trait Implementations
impl Debug for cs_opt_mem
[src]
impl Debug for cs_opt_mem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for cs_opt_mem
[src]
impl Copy for cs_opt_mem
impl Clone for cs_opt_mem
[src]
impl Clone for cs_opt_mem
Auto Trait Implementations
impl Send for cs_opt_mem
impl Send for cs_opt_mem
impl Sync for cs_opt_mem
impl Sync for cs_opt_mem