There will be no PDO. P# will contain DBAL
This commit is contained in:
parent
0552e388e7
commit
5d1e75d72c
2
ph7int.h
2
ph7int.h
|
@ -1269,7 +1269,7 @@ struct ph7_vm {
|
||||||
SyHash hHostFunction; /* Host-application installable functions */
|
SyHash hHostFunction; /* Host-application installable functions */
|
||||||
SyHash hFunction; /* Compiled functions */
|
SyHash hFunction; /* Compiled functions */
|
||||||
SyHash hSuper; /* Superglobals hashtable */
|
SyHash hSuper; /* Superglobals hashtable */
|
||||||
SyHash hPDO; /* PDO installed drivers */
|
SyHash hDBAL; /* DBAL installed drivers */
|
||||||
SyBlob sConsumer; /* Default VM consumer [i.e Redirect all VM output to this blob] */
|
SyBlob sConsumer; /* Default VM consumer [i.e Redirect all VM output to this blob] */
|
||||||
SyBlob sWorker; /* General purpose working buffer */
|
SyBlob sWorker; /* General purpose working buffer */
|
||||||
SyBlob sArgv; /* $argv[] collector [refer to the [getopt()] implementation for more information] */
|
SyBlob sArgv; /* $argv[] collector [refer to the [getopt()] implementation for more information] */
|
||||||
|
|
2
vm.c
2
vm.c
|
@ -1232,7 +1232,7 @@ PH7_PRIVATE sxi32 PH7_VmInit(
|
||||||
SyHashInit(&pVm->hClass, &pVm->sAllocator, SyStrHash, SyStrnmicmp);
|
SyHashInit(&pVm->hClass, &pVm->sAllocator, SyStrHash, SyStrnmicmp);
|
||||||
SyHashInit(&pVm->hConstant, &pVm->sAllocator, 0, 0);
|
SyHashInit(&pVm->hConstant, &pVm->sAllocator, 0, 0);
|
||||||
SyHashInit(&pVm->hSuper, &pVm->sAllocator, 0, 0);
|
SyHashInit(&pVm->hSuper, &pVm->sAllocator, 0, 0);
|
||||||
SyHashInit(&pVm->hPDO, &pVm->sAllocator, 0, 0);
|
SyHashInit(&pVm->hDBAL, &pVm->sAllocator, 0, 0);
|
||||||
SySetInit(&pVm->aFreeObj, &pVm->sAllocator, sizeof(VmSlot));
|
SySetInit(&pVm->aFreeObj, &pVm->sAllocator, sizeof(VmSlot));
|
||||||
SySetInit(&pVm->aSelf, &pVm->sAllocator, sizeof(ph7_class *));
|
SySetInit(&pVm->aSelf, &pVm->sAllocator, sizeof(ph7_class *));
|
||||||
SySetInit(&pVm->aShutdown, &pVm->sAllocator, sizeof(VmShutdownCB));
|
SySetInit(&pVm->aShutdown, &pVm->sAllocator, sizeof(VmShutdownCB));
|
||||||
|
|
Loading…
Reference in New Issue