Hans-Christoph Steiner wrote: > I was trying to figure out how this is done in [expr], but that code is > super strange, so no luck yet. Anyone else have examples of dynamically > creating inlets in C based on object arguments?
pdlua does this, the relevant functions in pdlua/src/lua.c are: // the lua constructor calls this with object pointer and inlet count pdlua_object_createinlets(); // this initializes a proxy inlet pdlua_proxyinlet_init(); Source browseable here: https://devel.goto10.org/filedetails.php?repname=maximus&path=%2Fpdlua%2Fsrc%2Flua.c&rev=0&sc=0 Claude -- http://claudiusmaximus.goto10.org _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list