-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmem.h
54 lines (50 loc) · 1.11 KB
/
mem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef __MEM_H__
#define __MEM_H__
struct IMemAlloc_iface
{
//not sure why there is 2 of each in parent fork I thought was CTRL+D mistake
void * Alloc;
void * Realloc;
void * Free;
void * Expand_NoLongerSupported;
void * Alloc2;
void * Realloc2;
void * Free2;
void * Expand_NoLongerSupported2;
void * GetSize;
void * PushAllocDbgInfo;
void * PopAllocDbgInfo;
void * CrtSetBreakAlloc;
void * CrtSetReportMode;
void * CrtIsValidHeapPointer;
void * CrtIsValidPointer;
void * CrtCheckMemory;
void * CrtSetDbgFlag;
void * CrtMemCheckpoint;
void * DumpStats;
void * DumpStatsFileBase;
void * ComputeMemoryUsedBy;
void * CrtSetReportFile;
void * CrtSetReportHook;
void * CrtDbgReport;
void * heapchk;
void * IsDebugHeap;
void * GetActualDbgInfo;
void * RegisterAllocation;
void * RegisterDeallocation;
void * GetVersion;
void * CompactHeap;
void * SetAllocFailHandler;
void * DumpBlockStats;
void * MemoryAllocFailed;
void * CompactIncremental;
void * OutOfMemory;
void * RegionAlloc;
void * RegionAlloc2;
void * GlobalMemoryStatus;
};
struct IMemAlloc
{
IMemAlloc_iface *vptr;
};
#endif // __MEM_H__