File: multipleB.c

package info (click to toggle)
pd-binfile 0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 428 kB
  • sloc: ansic: 455; makefile: 141; sh: 124; cpp: 19
file content (13 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <m_pd.h>
t_class*multipleB_class;
static void multipleB_float(t_object*x, t_float f1) {
  pd_error(x, "%s got %f", __FUNCTION__, f1);
}
static void*multipleB_new(void) {
  return pd_new(multipleB_class);
}
void multipleB_setup(void) {
  post("%s", __FUNCTION__);
  multipleB_class = class_new(gensym("multipleB"), multipleB_new, 0, sizeof(t_object), 0, A_NULL);
  class_addfloat(multipleB_class, multipleB_float);
}