[PD-dev] Passing creation arguments to newmethod

Christof Ressi info at christofressi.com
Fri Aug 6 15:47:27 CEST 2021


A_DEFFLOAT and A_DEFSYM arguments are optional and default to 0 resp. an 
empty symbol. A_FLOAT and A_SYMBOL, on the other hand, are mandatory and 
Pd will print an error if you omit them in the method call.

On 06.08.2021 14:53, Alexandre Torres Porres wrote:
> Em qui., 5 de ago. de 2021 às 18:33, Christof Ressi 
> <info at christofressi.com <mailto:info at christofressi.com>> escreveu:
>
>     Hi Matt,
>
>     if you mix A_FLOAT / A_DEFFLOAT and A_SYM / A_DEFSYM in any Pd
>     method definition (not just the "new" method!), the arguments are
>     rearranged so that in the actual C function signature all the
>     symbol arguments come first.
>
> what's the difference between A_FLOAT / A_DEFFLOAT and A_SYM / A_DEFSYM?
> thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20210806/64906788/attachment.htm>


More information about the Pd-dev mailing list