Changed TRUE->true and FALSE->false for C99 compliance.
This commit is contained in:
@@ -80,13 +80,13 @@ bool ct_addTestFunction(Test* pTest, TestFunc tfun)
|
|||||||
realloc(pTest->pTestFuns,
|
realloc(pTest->pTestFuns,
|
||||||
newSize * sizeof(TestFunc));
|
newSize * sizeof(TestFunc));
|
||||||
if (!new_pTestFuns)
|
if (!new_pTestFuns)
|
||||||
return FALSE;
|
return false;
|
||||||
pTest->pTestFuns = new_pTestFuns;
|
pTest->pTestFuns = new_pTestFuns;
|
||||||
pTest->maxTests += CHUNK;
|
pTest->maxTests += CHUNK;
|
||||||
}
|
}
|
||||||
assert(pTest->nTests < pTest->maxTests);
|
assert(pTest->nTests < pTest->maxTests);
|
||||||
pTest->pTestFuns[pTest->nTests++] = tfun;
|
pTest->pTestFuns[pTest->nTests++] = tfun;
|
||||||
return TRUE;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ct_setStream(Test* pTest, FILE* pStream)
|
void ct_setStream(Test* pTest, FILE* pStream)
|
||||||
|
|||||||
Reference in New Issue
Block a user