This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
a tweaked version of:
[perl5.git] / ipmem.h
1 /*
2
3     ipmem.h
4     Interface for perl memory allocation
5
6 */
7
8 #ifndef __Inc__IPerlMem___
9 #define __Inc__IPerlMem___
10
11 class IPerlMem
12 {
13 public:
14     virtual void* Malloc(size_t) = 0;
15     virtual void* Realloc(void*, size_t) = 0;
16     virtual void Free(void*) = 0;
17 };
18
19 #endif  /* __Inc__IPerlMem___ */
20