And filled in the error messages in controls_errors.h.

This commit is contained in:
Pietro Gagliardi 2019-06-12 11:03:21 -04:00
parent 63773f703c
commit 47a8ccaf98
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
// 11 june 2019
checkErrorCase(uiRegisterControlType(NULL, p->vtablePlaceholder, p->osVtablePlaceholder, p->implDataSizePlaceholder),
"TODO")
"uiRegisterControlType(): invalid null pointer for uiControlOSVtable")
checkErrorCase(uiRegisterControlType(p->namePlaceholder, NULL, p->osVtablePlaceholder, p->implDataSizePlaceholder),
"TODO")
"uiRegisterControlType(): invalid null pointer for uiControlVtable")
checkErrorCase(uiRegisterControlType(p->namePlaceholder, p->vtableBadSize, p->osVtablePlaceholder, p->implDataSizePlaceholder),
"TODO")
"uiRegisterControlType(): wrong size 1 for uiControlVtable")
// TODO individual methods
checkErrorCase(uiRegisterControlType(p->namePlaceholder, p->vtablePlaceholder, NULL, p->implDataSizePlaceholder),
"TODO")
"uiRegisterControlType(): invalid null pointer for uiControlOSVtable")
// OS vtable sizes are tested per-OS