[PD-dev] [PD] external questions

Atte André Jensen atte.jensen at gmail.com
Tue Sep 25 08:37:48 CEST 2007


IOhannes m zmoelnig wrote:

> 1. most likely this is the culprit:
> 
> class_addmethod(arp_class,
>             (t_method)arp_bang, gensym("bang"),
>             A_DEFFLOAT, 0);
> 
> 
> with this code you say that arp_bang() expects a float as an argument.
> but arp_bang() does not!!
> (and btw, you already have added a bang-method with the class_addbang() 
> for arp_bang()

Aha. So I should simply remove the above lines, right?

> 2. it might be a better idea to use "static" for all functions that you 
> don't want to export (all but the _setup() function(s))

To remove the risk of name clashes between my external and others, right?

> 3. pd-dev is the list... :-)

I'm now subscribed to that also, thanks!

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://atte.dk/compositions




More information about the Pd-dev mailing list