[PD-dev] pointer to struct messages

Isidro Gonzalez isidro_gonsoy at yahoo.com
Sun Nov 23 00:55:43 CET 2008


Say we are programming an external and we have a
user-defined struct like:

typedef struct {
 float dist[8];
 float ang[8];
 float gain[8];
}loudspeakers;

Is there a way to output and receive
a pointer to this struct from and to oulets and inlets
of pd objects and so communicate
the data between them?
The outlet_pointer function seems to be only
for the t_gpointer type which is a special
graphic pointer.
Many thanks.
Isi



      





More information about the Pd-dev mailing list