Added SIZE() macro

This commit is contained in:
Clifford Wolf 2014-07-20 10:36:14 +02:00
parent a6174aaf5e
commit efa7884026
1 changed files with 2 additions and 0 deletions

View File

@ -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
{