internal unsafe void MarshalTo(Interop.MemoryAllocateInfo *pointer)
 {
     pointer->SType           = StructureType.MemoryAllocateInfo;
     pointer->Next            = null;
     pointer->AllocationSize  = this.AllocationSize;
     pointer->MemoryTypeIndex = this.MemoryTypeIndex;
 }
Exemple #2
0
 internal MemoryAllocateInfo(Interop.MemoryAllocateInfo* ptr)
 {
     m = ptr;
     Initialize ();
 }
Exemple #3
0
 public MemoryAllocateInfo()
 {
     m = (Interop.MemoryAllocateInfo*) Interop.Structure.Allocate (typeof (Interop.MemoryAllocateInfo));
     Initialize ();
 }