From 5d1e75d72c477c9e8d24834727c5036313942e47 Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 12 Jul 2018 18:21:14 +0200 Subject: [PATCH] There will be no PDO. P# will contain DBAL --- ph7int.h | 2 +- vm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ph7int.h b/ph7int.h index cc642b1..e11c28f 100644 --- a/ph7int.h +++ b/ph7int.h @@ -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] */ diff --git a/vm.c b/vm.c index b45449d..50a29e6 100644 --- a/vm.c +++ b/vm.c @@ -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));