summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Popov <artem.popov@samsung.com>2016-11-28 10:56:47 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-28 11:35:27 -0800
commit05246782dc9c94eeb24bb29e1489ced512259cca (patch)
tree35c635f0a216091dd8564fab7c686c597fbeb2b9
parent0e2a2cbacf270766d5c0e2b5c8a09575a7660979 (diff)
downloadefl-05246782dc9c94eeb24bb29e1489ced512259cca.tar.gz
eina/log: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter
@fix Summary: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter that is always in use, can not be NULL. Reviewers: cedric, Hermet, myoungwoon, NikaWhite Reviewed By: NikaWhite Subscribers: t.naumenko, jpeg Differential Revision: https://phab.enlightenment.org/D4426 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/eina/eina_log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eina/eina_log.h b/src/lib/eina/eina_log.h
index 84e7f23655..a6da1b8498 100644
--- a/src/lib/eina/eina_log.h
+++ b/src/lib/eina/eina_log.h
@@ -861,7 +861,7 @@ EAPI void eina_log_print_cb_stdout(const Eina_Log_Domain *d,
int line,
const char *fmt,
void *data,
- va_list args);
+ va_list args) EINA_ARG_NONNULL(1);
/**
* @brief Default logging method, this will output to standard error stream.
@@ -904,7 +904,7 @@ EAPI void eina_log_print_cb_stderr(const Eina_Log_Domain *d,
int line,
const char *fmt,
void *data,
- va_list args);
+ va_list args) EINA_ARG_NONNULL(1);
/**
* Alternative logging method, this will output to given file stream.
@@ -931,7 +931,7 @@ EAPI void eina_log_print_cb_file(const Eina_Log_Domain *d,
int line,
const char *fmt,
void *data,
- va_list args);
+ va_list args) EINA_ARG_NONNULL(1);
/**
@@ -960,7 +960,7 @@ EAPI void eina_log_print_cb_journald(const Eina_Log_Domain *d,
int line,
const char *fmt,
void *data,
- va_list args);
+ va_list args) EINA_ARG_NONNULL(1);
/**
* Configure console color of given file.