diff options
Diffstat (limited to 'pureunity.c')
-rw-r--r-- | pureunity.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pureunity.c b/pureunity.c new file mode 100644 index 0000000..a68887b --- /dev/null +++ b/pureunity.c @@ -0,0 +1,9 @@ +/*#include <m_pd.h>*/ +#include "../../pd/src/m_pd.h" +void pureunity_setup() { + t_pd *m = &pd_objectmaker; + class_addcreator((t_newmethod)getfn(m,gensym( "inlet" )),gensym("f.inlet" ),A_GIMME,0); + class_addcreator((t_newmethod)getfn(m,gensym( "inlet~")),gensym("~.inlet" ),A_GIMME,0); + class_addcreator((t_newmethod)getfn(m,gensym("outlet" )),gensym("f.outlet"),A_GIMME,0); + class_addcreator((t_newmethod)getfn(m,gensym("outlet~")),gensym("~.outlet"),A_GIMME,0); +} |