次の方法で共有


PFMemoryHooks

メモリ フックをカプセル化する構造体。

構文

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

メンバー

alloc PFMemAllocFunction*

カスタム割り当てフック。

free PFMemFreeFunction*

カスタム フリー フック。

解説

どちらのフックも同時に設定する必要があります。

要件

ヘッダー: PFPlatform.h

関連項目

PFPlatform メンバー