diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/mooPdUtils.h | 18 |
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 */ |