From 45f69cf058fdd0bb73e8c4ea5254254198d38ecf Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 13 May 2019 10:46:42 -0400 Subject: [PATCH] Renamed programmererror.c to errors.c so we can add internal errors (which used to be called implementation bugs). --- common/{programmererror.c => errors.c} | 0 common/meson.build | 2 +- common/uipriv.h | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename common/{programmererror.c => errors.c} (100%) diff --git a/common/programmererror.c b/common/errors.c similarity index 100% rename from common/programmererror.c rename to common/errors.c diff --git a/common/meson.build b/common/meson.build index 7baf3c72..ef3b188f 100644 --- a/common/meson.build +++ b/common/meson.build @@ -1,6 +1,6 @@ # 23 march 2019 libui_sources += [ + 'common/errors.c', 'common/init.c', - 'common/programmererror.c', ] diff --git a/common/uipriv.h b/common/uipriv.h index aadcafbd..9fde1a53 100644 --- a/common/uipriv.h +++ b/common/uipriv.h @@ -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__