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 /CodingReadme | |
parent | c7f5aab625bb90e766c1852592fdf42c951716c0 (diff) |
Renamed SIZE() to GetSize() because of name collision on Win32
Diffstat (limited to 'CodingReadme')
-rw-r--r-- | CodingReadme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CodingReadme b/CodingReadme index 8f515e1f..2404a7a5 100644 --- a/CodingReadme +++ b/CodingReadme @@ -61,8 +61,8 @@ Yosys is written in C++11. At the moment only constructs supported by gcc 4.6 is allowed in Yosys code. This will change in future releases. In general Yosys uses "int" instead of "size_t". To avoid compiler -warnings for implicit type casts, always use "SIZE(foobar)" instead -of "foobar.size()". (the macro SIZE() is defined by kernel/yosys.h) +warnings for implicit type casts, always use "GetSize(foobar)" instead +of "foobar.size()". (GetSize() is defined by kernel/yosys.h) Use range-based for loops whenever applicable. |