Commit 22793c2d authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

add pd_anything, fix some formatting

parent 9484aff7
Pipeline #1437 passed with stage
in 462 minutes and 59 seconds
......@@ -68,7 +68,6 @@ void gstub_cutoff(t_gstub *gs)
if (!gs->gs_refcount) t_freebytes(gs, sizeof (*gs));
}
int gpointer_docheck(const t_gpointer *gp, int headok, int gobjok)
{
t_gstub *gs = gp->gp_stub;
......@@ -1104,7 +1103,6 @@ static void setsize_float(t_setsize *x, t_float f)
}
}
static void setsize_free(t_setsize *x)
{
gpointer_unset(&x->x_gp);
......@@ -1118,7 +1116,6 @@ static void setsize_setup(void)
class_addfloat(setsize_class, setsize_float);
class_addmethod(setsize_class, (t_method)setsize_set, gensym("set"),
A_SYMBOL, A_SYMBOL, 0);
}
/* ---------------------- append ----------------------------- */
......
......@@ -439,6 +439,11 @@ void pd_list(t_pd *x, t_symbol *s, int argc, t_atom *argv)
(*(*x)->c_listmethod)(x, &s_list, argc, argv);
}
void pd_anything(t_pd *x, t_symbol *s, int argc, t_atom *argv)
{
(*(*x)->c_anymethod)(x, s, argc, argv);
}
void mess_init(void);
void obj_init(void);
void conf_init(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment