Typehinting merge #50

Merged
belliash merged 298 commits from typehinting into master 2019-04-17 11:27:52 +02:00
Showing only changes of commit d6434ba19e - Show all commits

View File

@ -8408,7 +8408,7 @@ static int vm_builtin_assert(ph7_context *pCtx, int nArg, ph7_value **apArg) {
} }
/* Invoke the callback */ /* Invoke the callback */
PH7_MemObjInitFromString(pVm, &sFile, pFile); PH7_MemObjInitFromString(pVm, &sFile, pFile);
PH7_MemObjInitFromInt(pVm, &sLine, 0); PH7_MemObjInitFromInt(pVm, &sLine, 1);
apCbArg[0] = &sFile; apCbArg[0] = &sFile;
apCbArg[1] = &sLine; apCbArg[1] = &sLine;
apCbArg[2] = pAssert; apCbArg[2] = pAssert;