#include <windows.h>
#include "hyport.h"
#include "portpriv.h"
#include "hyportpg.h"
#include "ut_hyprt.h"
Functions | |
void *VMCALL | hymem_allocate_memory (struct HyPortLibrary *portLibrary, UDATA byteAmount) |
Allocate memory. | |
void VMCALL | hymem_free_memory (struct HyPortLibrary *portLibrary, void *memoryPointer) |
Deallocate memory. | |
void *VMCALL | hymem_reallocate_memory (struct HyPortLibrary *portLibrary, void *memoryPointer, UDATA byteAmount) |
Re-allocate memory. | |
void VMCALL | hymem_shutdown (struct HyPortLibrary *portLibrary) |
PortLibrary shutdown. | |
I_32 VMCALL | hymem_startup (struct HyPortLibrary *portLibrary, UDATA portGlobalSize) |
PortLibrary startup. | |
void *VMCALL | hymem_allocate_memory_callSite (struct HyPortLibrary *portLibrary, UDATA byteAmount, char *callSite) |
Allocate memory. |
|
Allocate memory.
|
|
Allocate memory.
|
|
Deallocate memory.
|
|
Re-allocate memory.
|
|
PortLibrary shutdown. This function is called during shutdown of the portLibrary. Any resources that were created by hymem_startup should be destroyed here.
|
|
PortLibrary startup. This function is called during startup of the portLibrary. Any resources that are required for the memory operations may be created here. All resources created here should be destroyed in hymem_shutdown.
|