[PD] Inlet Proxy object example
Claude Heiland-Allen
claudiusmaximus at goto10.org
Thu Dec 13 19:16:15 CET 2007
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
More information about the Pd-list
mailing list