From bb388c87ee61094d4730d28c19667e8b498ff480 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 2 Jan 2006 01:28:18 +0000 Subject: aliasing classes in order to exploit polymorphism svn path=/trunk/abstractions/pureunity/; revision=4346 --- pureunity.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pureunity.c (limited to 'pureunity.c') 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 */ +#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); +} -- cgit v1.2.1