PFMemoryHooks

Struct encapsulating memory hooks.

Syntax

typedef struct PFMemoryHooks {  
    PFMemAllocFunction* alloc;  
    PFMemFreeFunction* free;  
} PFMemoryHooks;  

Members

alloc   PFMemAllocFunction*

Custom allocation hook.

free   PFMemFreeFunction*

Custom free hook.

Remarks

Both hooks must be set at the same time.

Requirements

Header: PFPlatform.h

See also

PFPlatform members