[PD-dev] Using pd_bind and pd_findbyclass to access data from another external
antoine at metalu.net
Wed Jan 20 23:13:16 CET 2021
It's "pd_findbyclass" that wasn't working, because he was asking for a
t_class* which had actually another value than the one he was really
He could have asked for the right t_class* value by calling
Or he can share the variable, either using "extern" and ensuring the right
order of loading of the 2 externals, or grouping both objects into the same
binary file (i.e only one "external").
Le mer. 20 janv. 2021 à 22:46, Eric Lennartson <lennartsoneric at gmail.com> a
> Millers and Antoine's solution were, what solved the problem.
> On Wed, Jan 20, 2021, 1:39 PM Alexandre Torres Porres <porres at gmail.com>
>> Em ter., 19 de jan. de 2021 às 22:55, Jonathan Wilkes via Pd-dev <
>> pd-dev at lists.iem.at> escreveu:
>>> Sounds like a use case for pd_findbyclassname
>> I'm confused. I thought Eric said pd_findbyclassname didn't work for this
>> in this case.
>> Em qua., 20 de jan. de 2021 às 13:49, Eric Lennartson <
>> lennartsoneric at gmail.com> escreveu:
>>> Thanks all this solved the problem!
>> "this" what?
> Pd-dev mailing list
> Pd-dev at lists.iem.at
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-dev