diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 03:03:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 03:03:42 +0000 |
commit | 7a507f3805a849b906eb78ed1debef0c9812bb3a (patch) | |
tree | 9dce35a243eb3e3e6d519f116f3ec7be77666385 /src/lilv_internal.h | |
parent | d55f87b341e1855f2f6f544649f17f36aa22d7e4 (diff) | |
download | lilv-7a507f3805a849b906eb78ed1debef0c9812bb3a.tar.gz lilv-7a507f3805a849b906eb78ed1debef0c9812bb3a.tar.bz2 lilv-7a507f3805a849b906eb78ed1debef0c9812bb3a.zip |
Consistent error and warning message style.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3243 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r-- | src/lilv_internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index c016eaf..eec8c89 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -325,13 +325,13 @@ lilv_dlfunc(void* handle, const char* symbol) static const LV2_Feature* const dman_features = { NULL }; #endif -#define LILV_ERROR(str) fprintf(stderr, "%s: error: " str, \ +#define LILV_ERROR(str) fprintf(stderr, "%s(): error: " str, \ __func__) -#define LILV_ERRORF(fmt, ...) fprintf(stderr, "%s: error: " fmt, \ +#define LILV_ERRORF(fmt, ...) fprintf(stderr, "%s(): error: " fmt, \ __func__, __VA_ARGS__) -#define LILV_WARN(str) fprintf(stderr, "%s: warning: " str, \ +#define LILV_WARN(str) fprintf(stderr, "%s(): warning: " str, \ __func__) -#define LILV_WARNF(fmt, ...) fprintf(stderr, "%s: warning: " fmt, \ +#define LILV_WARNF(fmt, ...) fprintf(stderr, "%s(): warning: " fmt, \ __func__, __VA_ARGS__) #ifdef __cplusplus |