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>
This commit is contained in:
Artem Popov 2016-11-28 10:56:47 -08:00 committed by Cedric BAIL
parent 0e2a2cbacf
commit 05246782dc
1 changed files with 4 additions and 4 deletions

View File

@ -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.