Commit | Line | Data |
---|---|---|
76e3520e | 1 | /* |
2 | ||
f7a92b15 | 3 | ipmem.h |
4 | Interface for perl memory allocation | |
76e3520e | 5 | |
6 | */ | |
7 | ||
8 | #ifndef __Inc__IPerlMem___ | |
9 | #define __Inc__IPerlMem___ | |
10 | ||
11 | class IPerlMem | |
12 | { | |
13 | public: | |
f7a92b15 | 14 | virtual void* Malloc(size_t) = 0; |
15 | virtual void* Realloc(void*, size_t) = 0; | |
16 | virtual void Free(void*) = 0; | |
76e3520e | 17 | }; |
18 | ||
19 | #endif /* __Inc__IPerlMem___ */ | |
20 |