C# Class Emul8.Peripherals.CPU.TranslationCPU.SimpleMemoryManager

ファイルを表示 Open project: emul8/emul8

Public Methods

Method Description
Allocate ( int size ) : IntPtr
CheckIfAllIsFreed ( ) : void
Free ( IntPtr ptr ) : void
Reallocate ( IntPtr oldPointer, int newSize ) : IntPtr
SimpleMemoryManager ( TranslationCPU parent ) : System

Private Methods

Method Description
PrintAllocated ( ) : void

Method Details

Allocate() public method

public Allocate ( int size ) : IntPtr
size int
return System.IntPtr

CheckIfAllIsFreed() public method

public CheckIfAllIsFreed ( ) : void
return void

Free() public method

public Free ( IntPtr ptr ) : void
ptr System.IntPtr
return void

Reallocate() public method

public Reallocate ( IntPtr oldPointer, int newSize ) : IntPtr
oldPointer System.IntPtr
newSize int
return System.IntPtr

SimpleMemoryManager() public method

public SimpleMemoryManager ( TranslationCPU parent ) : System
parent TranslationCPU
return System