diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-10 16:59:44 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-10 17:07:24 +0200 |
commit | 4569a747f8af3880e23408eb93323afc8088b78b (patch) | |
tree | 81dcea51020173cd4951e8649f8bd8305e7c2591 /kernel/yosys.h | |
parent | c7f5aab625bb90e766c1852592fdf42c951716c0 (diff) |
Renamed SIZE() to GetSize() because of name collision on Win32
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index e796919f..c5da9f04 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -84,8 +84,8 @@ namespace RTLIL { std::string stringf(const char *fmt, ...); std::string vstringf(const char *fmt, va_list ap); -template<typename T> int SIZE(const T &obj) { return obj.size(); } -int SIZE(RTLIL::Wire *wire); +template<typename T> int GetSize(const T &obj) { return obj.size(); } +int GetSize(RTLIL::Wire *wire); YOSYS_NAMESPACE_END |