Typehinting merge #50
|
@ -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;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue