mirror~/Source/mirror~pd.c
void *mirror_new(void)
{
	/* Instantiate a new object */
	t_mirror *x = (t_mirror *) pd_new(mirror_class);
	
	/* Create signal inlets */
	// Pd creates one by default
	
	/* Create signal outlets */
	outlet_new(&x->obj, gensym("signal"));
	
	/* Print message to Max window */
	post("mirror~ • 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 *mirror_new(void)
{
	t_mirror *x = (t_mirror *) pd_new(mirror_class);
	outlet_new(&x->obj, gensym("signal"));
	post("mirror~ • Object was created");
	return x;
}
void * mirror_new ( void ) { t_mirror * x = ( t_mirror * ) pd_new ( mirror_class ) ; outlet_new ( & x -> obj , gensym ( " " ) ) ; post ( " ; return x ; }
The 'new instance' routine
The ' new instance ' routine
/* Instantiate a new object */ /* Create signal inlets */ // Pd creates one by default /* Create signal outlets */ /* Print message to Max window */ /* Return a pointer to the new object */