mirror of https://github.com/YosysHQ/yosys.git
Added SIZE() macro
This commit is contained in:
parent
a6174aaf5e
commit
efa7884026
|
@ -26,7 +26,9 @@
|
|||
#include <string>
|
||||
#include <assert.h>
|
||||
|
||||
// various helpers (unrelated to RTLIL)
|
||||
std::string stringf(const char *fmt, ...);
|
||||
#define SIZE(__obj) int(__obj.size())
|
||||
|
||||
namespace RTLIL
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue