3
/*--------------- vpow ----------------*/
5
static t_class *vpow_class;
14
static void vpow_perform(t_vpow *x, t_symbol *s, int argc, t_atom *argv)
19
ap = (t_atom *)getbytes(sizeof(t_atom)*argc);
24
for (i = 0; i < argc; i++)
26
float x=atom_getfloat(argv++);
34
outlet_list(x->x_obj.ob_outlet,gensym("list"),argc,ap);
38
static void *vpow_new(t_float y)
40
t_vpow *x=(t_vpow *)pd_new(vpow_class);
42
floatinlet_new(&x->x_obj, &x->m_y);
44
outlet_new(&x->x_obj, gensym("list"));
53
vpow_class = class_new(gensym("vpow"),
54
(t_newmethod)vpow_new, 0,
57
A_DEFFLOAT,A_DEFFLOAT,0);
58
class_addlist(vpow_class, (t_method)vpow_perform);