9 #define PERLVARI(x, y, z) PL_##x = z;
11 #define PERLVARIC(x, y, z) PL_##x = z;
13 CPerlObj::CPerlObj(IPerlMem* ipM, IPerlEnv* ipE, IPerlStdIO* ipStd,
14 IPerlLIO* ipLIO, IPerlDir* ipD, IPerlSock* ipS, IPerlProc* ipP)
16 memset(((char*)this)+sizeof(void*), 0, sizeof(CPerlObj)-sizeof(void*));
32 CPerlObj::operator new(size_t nSize, IPerlMem *pvtbl)
35 return pvtbl->Malloc(nSize);
41 CPerlObj::ErrorNo(void)
52 fprintf(PerlIO *stream, const char *format, ...)
55 va_start(arglist, format);
56 return PerlIO_vprintf(stream, format, arglist);
59 #ifdef WIN32 /* XXX why are these needed? */
63 return PerlProc_Cmd(cmd);
67 do_aspawn(void *vreally, void **vmark, void **vsp)
69 return PerlProc_aspawn(vreally, vmark, vsp);
73 #endif /* PERL_OBJECT */