Something like that. The simplest solution is to just wrap pd_setinstance as libpd_setinstance, etc. Miller updated the pd_multi sample since you may have last seen it...

On Aug 18, 2017, at 6:29 PM, Alex <x37v.alex@gmail.com> wrote:

Is the goal to switch pd instances before calling the libpd calls or pass a pd_instance to the libpd calls?

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com