Typehinting merge #50

Merged
belliash merged 298 commits from typehinting into master 2019-04-17 11:27:52 +02:00
1 changed files with 29 additions and 25 deletions
Showing only changes of commit 550107235c - Show all commits

View File

@ -890,6 +890,7 @@ PH7_PRIVATE sxi32 PH7_ClassInstanceDump(SyBlob *pOut, ph7_class_instance *pThis,
if(!ShowType) { if(!ShowType) {
SyBlobAppend(&(*pOut), "Object(", sizeof("Object(") - 1); SyBlobAppend(&(*pOut), "Object(", sizeof("Object(") - 1);
} }
if(pThis) {
/* Append class name */ /* Append class name */
SyBlobFormat(&(*pOut), "%z) {", &pThis->pClass->sName); SyBlobFormat(&(*pOut), "%z) {", &pThis->pClass->sName);
#ifdef __WINNT__ #ifdef __WINNT__
@ -925,6 +926,9 @@ PH7_PRIVATE sxi32 PH7_ClassInstanceDump(SyBlob *pOut, ph7_class_instance *pThis,
SyBlobAppend(&(*pOut), " ", sizeof(char)); SyBlobAppend(&(*pOut), " ", sizeof(char));
} }
SyBlobAppend(&(*pOut), "}", sizeof(char)); SyBlobAppend(&(*pOut), "}", sizeof(char));
} else {
SyBlobAppend(&(*pOut), ")", sizeof(char));
}
return rc; return rc;
} }
/* /*