Renamed programmererror.c to errors.c so we can add internal errors (which used to be called implementation bugs).

This commit is contained in:
Pietro Gagliardi 2019-05-13 10:46:42 -04:00
parent 7022e6f268
commit 45f69cf058
3 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# 23 march 2019
libui_sources += [
'common/errors.c',
'common/init.c',
'common/programmererror.c',
]

View File

@ -10,7 +10,7 @@ extern int uiprivSysInit(void *options, uiInitError *err);
extern int uiprivInitReturnError(uiInitError *err, const char *msg);
extern int uiprivInitReturnErrorf(uiInitError *err, const char *msg, ...);
// programmererror.c
// errors.c
enum {
uiprivProgrammerErrorWrongStructSize, // arguments: size_t badSize, const char *structName
uiprivProgrammerErrorIndexOutOfRange, // arguments: int badIndex, __func__