mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Added log_warning() API
This commit is contained in:
parent
cb9e10b462
commit
fe829bdbdc
15 changed files with 57 additions and 34 deletions
|
@ -51,10 +51,12 @@ extern int log_verbose_level;
|
|||
|
||||
void logv(const char *format, va_list ap);
|
||||
void logv_header(const char *format, va_list ap);
|
||||
void logv_warning(const char *format, va_list ap);
|
||||
_NORETURN_ void logv_error(const char *format, va_list ap) __attribute__((noreturn));
|
||||
|
||||
void logv_error(const char *format, va_list ap) __attribute__((noreturn));
|
||||
void log(const char *format, ...) __attribute__((format(printf, 1, 2)));
|
||||
void log_header(const char *format, ...) __attribute__((format(printf, 1, 2)));
|
||||
void log_warning(const char *format, ...) __attribute__((format(printf, 1, 2)));
|
||||
_NORETURN_ void log_error(const char *format, ...) __attribute__((format(printf, 1, 2))) __attribute__((noreturn));
|
||||
_NORETURN_ void log_cmd_error(const char *format, ...) __attribute__((format(printf, 1, 2))) __attribute__((noreturn));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue