aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2017-08-11 00:44:11 +0200
committerReiner Herrmann <reiner@reiner-h.de>2017-08-11 01:05:43 +0200
commit6900970e371adc68a10c119e6b7b445bcf5050a7 (patch)
treedd1647d2545f56b56c3e7a152963ef128c243100 /common.h
parentf018b296625bd8b99aba1ae4bd6bfbb48a49f59b (diff)
Return more exact note names (instead of just standard tuning)
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 80c552f..f084a73 100644
--- a/common.h
+++ b/common.h
@@ -1,6 +1,8 @@
#ifndef __COMMON_H__
#define __COMMON_H__
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
+
int toggle_nonblocking_input();
#endif // __COMMON_H__