summaryrefslogtreecommitdiff
path: root/ipmem.h
blob: 0554cf5f95455116e1dcee7ea4fae379a94ee644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*

    ipmem.h
    Interface for perl memory allocation

*/

#ifndef __Inc__IPerlMem___
#define __Inc__IPerlMem___

class IPerlMem
{
public:
    virtual void* Malloc(size_t) = 0;
    virtual void* Realloc(void*, size_t) = 0;
    virtual void Free(void*) = 0;
};

#endif	/* __Inc__IPerlMem___ */