Re: Exceptions in IPC::Open2
[p5sagit/p5-mst-13.2.git] / perlmem.h
CommitLineData
3028581b 1#ifndef H_PERLMEM
2#define H_PERLMEM 1
3
4#ifdef PERL_OBJECT
0824fdcb 5
6#include "ipmem.h"
7
8#define PerlMem_malloc(size) piMem->Malloc((size))
9#define PerlMem_realloc(buf, size) piMem->Realloc((buf), (size))
10#define PerlMem_free(buf) piMem->Free((buf))
3028581b 11#else
12#define PerlMem_malloc(size) malloc((size))
13#define PerlMem_realloc(buf, size) realloc((buf), (size))
14#define PerlMem_free(buf) free((buf))
15
16#endif /* PERL_OBJECT */
17
18#endif /* Include guard */
19