Skip to content

Commit

Permalink
plussz2: fix for new method arg decl mismatch. see #15.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Place committed May 10, 2017
1 parent 151ed5b commit 0f117ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/basics/plussz2/plussz2.c
Expand Up @@ -37,7 +37,7 @@ void ext_main(void *r)
{
t_class *c;

c = class_new("plussz2", (method)plussz2_new, (method)plussz2_free, sizeof(t_plussz2), 0L, A_GIMME, 0);
c = class_new("plussz2", (method)plussz2_new, (method)plussz2_free, sizeof(t_plussz2), 0L, A_DEFLONG, 0);

class_addmethod(c, (method)plussz2_bang, "bang", 0); // the method it uses when it gets a bang in the left inlet
class_addmethod(c, (method)plussz2_int, "int", A_LONG, 0); // the method for ints in any inlet
Expand Down

0 comments on commit 0f117ec

Please sign in to comment.