aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2009-01-21 13:39:15 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2009-01-21 13:39:15 +0000
commite9a803f42a15025ff8eed59e4ae4d8a8ab3645e0 (patch)
tree05e707500b73d4c3f564ca841d26470f39756e97 /common
parent6b820db93d315c0c55db12128bbc9b4426779ea8 (diff)
+ added mooPdUtils.h and some MOO_UNUSED macros
svn path=/trunk/externals/moocow/; revision=10582
Diffstat (limited to 'common')
-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 */