multy~/Source/multy~pd.c
void *multy_new(void)
{
	/* Instantiate a new object */
	t_multy *x = (t_multy *) pd_new(multy_class);
	
	/* Create signal inlets */
	inlet_new(&x->obj, &x->obj.ob_pd, gensym("signal"), gensym("signal"));
	
	/* Create signal outlets */
	outlet_new(&x->obj, gensym("signal"));
	
	/* Print message to Max window */
	post("multy~ • Object was created");
	
	/* Return a pointer to the new object */
	return x;
}
/* The 'new instance' routine *************************************************/
The 'new instance' routine
The ' new instance ' routine
void *multy_new(void)
{
	t_multy *x = (t_multy *) pd_new(multy_class);
	inlet_new(&x->obj, &x->obj.ob_pd, gensym("signal"), gensym("signal"));
	outlet_new(&x->obj, gensym("signal"));
	post("multy~ • Object was created");
	return x;
}
void * multy_new ( void ) { t_multy * x = ( t_multy * ) pd_new ( multy_class ) ; inlet_new ( & x -> obj , & x -> obj . ob_pd , gensym ( " " ) , gensym ( " " ) ) ; outlet_new ( & x -> obj , gensym ( " " ) ) ; post ( " ; return x ; }
The 'new instance' routine
The ' new instance ' routine
/* Instantiate a new object */ /* Create signal inlets */ /* Create signal outlets */ /* Print message to Max window */ /* Return a pointer to the new object */