Trait windows::Win32::System::ClrHosting::IHostMalloc_Impl
pub trait IHostMalloc_Impl: Sized {
// Required methods
fn Alloc(
&self,
cbsize: usize,
ecriticallevel: EMemoryCriticalLevel,
ppmem: *mut *mut c_void,
) -> Result<()>;
fn DebugAlloc(
&self,
cbsize: usize,
ecriticallevel: EMemoryCriticalLevel,
pszfilename: *const u8,
ilineno: i32,
ppmem: *mut *mut c_void,
) -> Result<()>;
fn Free(&self, pmem: *const c_void) -> Result<()>;
}
Required Methods§
fn Alloc( &self, cbsize: usize, ecriticallevel: EMemoryCriticalLevel, ppmem: *mut *mut c_void, ) -> Result<()>
fn DebugAlloc( &self, cbsize: usize, ecriticallevel: EMemoryCriticalLevel, pszfilename: *const u8, ilineno: i32, ppmem: *mut *mut c_void, ) -> Result<()>
fn Free(&self, pmem: *const c_void) -> Result<()>
Object Safety§
This trait is not object safe.