public static int AllocateNewPage(this PageList page, int pageNumber) { int index; IntPtr ptr; Globals.MemoryPool.AllocatePage(out index, out ptr); return(page.AddNewPage(pageNumber, ptr, index)); }
public static int AllocateNewPage(this PageList page, int pageNumber) { int index; IntPtr ptr; Globals.MemoryPool.AllocatePage(out index, out ptr); return(page.AddNewPage(pageNumber, ptr, index)); }