And got things building. Now to clean up the error macro part.

This commit is contained in:
Pietro Gagliardi 2019-06-13 10:43:44 -04:00
parent d54f23c0cc
commit ab82278a30
1 changed files with 2 additions and 3 deletions

View File

@ -70,14 +70,13 @@ static const struct {
testingTest(ControlErrors) testingTest(ControlErrors)
{ {
struct checkControlErrorsParams p; struct checkControlErrorsParams p;
uiControlVtable vtable;
uiControlVtable vtableBadSize; uiControlVtable vtableBadSize;
size_t i; size_t i;
memset(&p, 0, sizeof (struct checkControlErrorsParams)); memset(&p, 0, sizeof (struct checkControlErrorsParams));
p.namePlaceholder = "name"; p.namePlaceholder = "name";
createTestVtable(&vtable); p.vtablePlaceholder = allocVtable(t);
p.vtablePlaceholder = &vtable; testingTDefer(t, deferFree, p.vtablePlaceholder);
// TODO osVtablePlaceholder // TODO osVtablePlaceholder
p.implDataSizePlaceholder = sizeof (struct testImplData); p.implDataSizePlaceholder = sizeof (struct testImplData);
memset(&vtableBadSize, 0, sizeof (uiControlVtable)); memset(&vtableBadSize, 0, sizeof (uiControlVtable));