aboutsummaryrefslogtreecommitdiff
path: root/common/mooPdUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/mooPdUtils.h')
-rw-r--r--common/mooPdUtils.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/common/mooPdUtils.h b/common/mooPdUtils.h
new file mode 100644
index 0000000..4917e7d
--- /dev/null
+++ b/common/mooPdUtils.h
@@ -0,0 +1,18 @@
+/*=============================================================================*\
+ * File: mooPdUtils.h
+ * Author: Bryan Jurish <moocow@ling.uni-potsdam.de>
+ * Description: some generic utilities for pd externals
+ *=============================================================================*/
+
+#ifndef _MOO_PD_UTILS_H
+#define _MOO_PD_UTILS_H
+
+/*-- MOO_UNUSED : macro for unused attributes; to avoid compiler warnings */
+#ifdef __GNUC__
+# define MOO_UNUSED __attribute__((unused))
+#else
+# define MOO_UNUSED
+#endif
+
+
+#endif /* _MOO_PD_UTILS_H */