It's fine to just use (t_symbol *) for function arguments.
The only reason there's a separate "t_floatarg" is that some 90-s era
compilers weren't able to pass single-precision floats as function arguments.
I don't think we'll ever see that happen again but there's no reason to
go through and take it all out either.
Beware: when mixing symbols and floats in parsed argument lists, Pd will
send all the symbol arguments first, then the floats - not necessarily
in the order that the arguments appear in the Pd message.
cheers
Miller
On Mon, Jan 18, 2016 at 12:01:44PM -0500, Ricky Graham wrote:
> Hello,
>
> Is there a symbol equivalent to t_floatarg when writing an object in C? I’d like to pass a symbol on creation.
>
> All the best,
>
> Ricky
> _______________________________________________
>
Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list