diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-28 18:08:06 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-28 18:08:06 +0000 |
commit | 3075ddba723b9b3d732695035818e7b3e7287e85 (patch) | |
tree | 4cb160adc07d92b9a6d9068d4f07693f221e2e72 /globals.c | |
parent | 71ad7795db6b8d545a629fdaf0efbb677f2f2921 (diff) | |
download | perl-3075ddba723b9b3d732695035818e7b3e7287e85.tar.gz |
misc PERL_OBJECT tweaks; perlcore.dll is now perl56.dll
p4raw-id: //depot/perl@3819
Diffstat (limited to 'globals.c')
-rw-r--r-- | globals.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -35,13 +35,20 @@ CPerlObj::CPerlObj(IPerlMem* ipM, IPerlEnv* ipE, IPerlStdIO* ipStd, void* CPerlObj::operator new(size_t nSize, IPerlMem *pvtbl) { - if(pvtbl != NULL) + if(pvtbl) return pvtbl->pMalloc(pvtbl, nSize); return NULL; } void +CPerlObj::operator delete(void *pPerl, IPerlMem *pvtbl) +{ + if(pvtbl) + pvtbl->pFree(pvtbl, pPerl); +} + +void CPerlObj::Init(void) { } |