summaryrefslogtreecommitdiff
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 3a22d137..6290db21 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -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
{