[PD-dev] How to check data type of arguments in object

Alexandros Drymonitis adrcki at gmail.com
Tue Sep 12 18:28:57 CEST 2023


Does this mean that I have to check sort of like this:

if (argv == A_FLOAT) {
     /* do something with the float arg */
}
else if (argv == A_SYMBOL) {
     /* do something with the symbol arg */
}

On 9/12/23 18:55, IOhannes m zmölnig wrote:
> https://github.com/pure-data/externals-howto#class_new-1
> https://github.com/pure-data/externals-howto#atoms
>
> mfg.sfg.jfd
> IOhannes
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev





More information about the Pd-dev mailing list