API:System.TMemoryManagerEx
Delphi
TMemoryManagerEx = record
{The basic (required) memory manager functionality}
GetMem: function(Size: NativeInt): Pointer;
FreeMem: function(P: Pointer): Integer;
ReallocMem: function(P: Pointer; Size: NativeInt): Pointer;
{Extended (optional) functionality.}
AllocMem: function(Size: NativeInt): Pointer;
RegisterExpectedMemoryLeak: function(P: Pointer): Boolean;
UnregisterExpectedMemoryLeak: function(P: Pointer): Boolean;
end;
C++
struct DECLSPEC_DRECORD TMemoryManagerEx
{
public:
void * __fastcall (*GetMem)(NativeInt Size);
int __fastcall (*FreeMem)(void * P);
void * __fastcall (*ReallocMem)(void * P, NativeInt Size);
void * __fastcall (*AllocMem)(NativeInt Size);
bool __fastcall (*RegisterExpectedMemoryLeak)(void * P);
bool __fastcall (*UnregisterExpectedMemoryLeak)(void * P);
};
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
record struct |
public | System.pas System.hpp |
System | System |
説明
このトピックには現在ドキュメントが存在しません。「ノート」を利用してこのトピックの改良について話しあうことができます。