1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <m_pd.h> #include "g_canvas.h" #include "fatom.h" static t_class *fatom_class; void fatom_setup() { post("fatom setup"); fatom_class = class_new(gensym("fatom"), (t_newmethod)fatom_new, 0, sizeof(t_fatom),0,A_DEFSYM,0); fatom_setup_common(fatom_class); }