diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-30 15:58:21 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-30 15:58:21 +0200 |
commit | 45fd26b76e1ca72927ab0a8ce207aab0d024eba3 (patch) | |
tree | bcfc1d2d1de9af5162037b35578bbf9ab0f703c3 | |
parent | e2a029b5d583c3268df4d798f8e79874919eb601 (diff) | |
download | yosys-45fd26b76e1ca72927ab0a8ce207aab0d024eba3.tar.gz yosys-45fd26b76e1ca72927ab0a8ce207aab0d024eba3.tar.bz2 yosys-45fd26b76e1ca72927ab0a8ce207aab0d024eba3.zip |
Added "log_dump_val_worker(char *v)"
-rw-r--r-- | kernel/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h index 803365b39..a491d067d 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -196,6 +196,7 @@ static inline void log_dump_val_worker(char c) { log(c >= 32 && c < 127 ? "'%c'" static inline void log_dump_val_worker(unsigned char c) { log(c >= 32 && c < 127 ? "'%c'" : "'\\x%02x'", c); } static inline void log_dump_val_worker(bool v) { log("%s", v ? "true" : "false"); } static inline void log_dump_val_worker(double v) { log("%f", v); } +static inline void log_dump_val_worker(char *v) { log("%s", v); } static inline void log_dump_val_worker(const char *v) { log("%s", v); } static inline void log_dump_val_worker(std::string v) { log("%s", v.c_str()); } static inline void log_dump_val_worker(PerformanceTimer p) { log("%f seconds", p.sec()); } |