mirror~/Source/mirror~max.c
void *mirror_new(void)
{
	/* Instantiate a new object */
	t_mirror *x = (t_mirror *)object_alloc(mirror_class);
	
	/* Create signal inlets */
	dsp_setup((t_pxobject *)x, NUM_INLETS);
	
	/* Create signal outlets */
	outlet_new((t_object *)x, "signal");
	
	/* Print message to Max window */
	object_post((t_object *)x, "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 *)object_alloc(mirror_class);
	dsp_setup((t_pxobject *)x, NUM_INLETS);
	outlet_new((t_object *)x, "signal");
	object_post((t_object *)x, "Object was created");
	return x;
}
void * mirror_new ( void ) { t_mirror * x = ( t_mirror * ) object_alloc ( mirror_class ) ; dsp_setup ( ( t_pxobject * ) x , NUM_INLETS ) ; outlet_new ( ( t_object * ) x , " " ) ; object_post ( ( t_object * ) x , " " ) ; 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 */