[PD-dev] how to create second inlet that accepts both floats and symbols

2013-07-18 Thread Ivica Ico Bukvic
inlet_new apparently redirects elsewhere, so one could potentially do what list_append does (if I am understanding the code correctly), but is there an easier way to do this? -- Ivica Ico Bukvic, D.M.A Composition, Music Technology Director, DISIS Interactive Sound Intermedia Studio Director,

Re: [PD-dev] how to create second inlet that accepts both floats and symbols

2013-07-18 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-07-18 18:41, Ivica Ico Bukvic wrote: inlet_new apparently redirects elsewhere, so one could potentially do what list_append does (if I am understanding the code correctly), but is there an easier way to do this? basically you ahve two

Re: [PD-dev] how to create second inlet that accepts both floats and symbols

2013-07-18 Thread Jonathan Wilkes
On 07/18/2013 12:41 PM, Ivica Ico Bukvic wrote: inlet_new apparently redirects elsewhere, so one could potentially do what list_append does (if I am understanding the code correctly), but is there an easier way to do this? I believe I changed [select] to do this with a proxy inlet in

Re: [PD-dev] how to create second inlet that accepts both floats and symbols

2013-07-18 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-07-18 19:04, IOhannes m zmoelnig wrote: basically you ahve two options: - allow lists at the second inlet, and check whether the list has only one argument of type A_FLOAT or A_SYMBOL: /* creating the inlet */ inlet_new((t_object*)x,