Browse Source

There will be no PDO. P# will contain DBAL

pull/8/head
Rafal Kupiec 3 years ago
parent
commit
5d1e75d72c
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ph7int.h
  2. +1
    -1
      vm.c

+ 1
- 1
ph7int.h View File

@ -1269,7 +1269,7 @@ struct ph7_vm {
SyHash hHostFunction; /* Host-application installable functions */
SyHash hFunction; /* Compiled functions */
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 sWorker; /* General purpose working buffer */
SyBlob sArgv; /* $argv[] collector [refer to the [getopt()] implementation for more information] */


+ 1
- 1
vm.c View File

@ -1232,7 +1232,7 @@ PH7_PRIVATE sxi32 PH7_VmInit(
SyHashInit(&pVm->hClass, &pVm->sAllocator, SyStrHash, SyStrnmicmp);
SyHashInit(&pVm->hConstant, &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->aSelf, &pVm->sAllocator, sizeof(ph7_class *));
SySetInit(&pVm->aShutdown, &pVm->sAllocator, sizeof(VmShutdownCB));


Loading…
Cancel
Save