[PD-dev] symbols in structs

Vasily Kuznetsov kvas.it at gmail.com
Tue Jul 26 22:38:08 CEST 2005


hello

as i understood from my experiments with the stucts, the
functionality to get/set symbol fields is not there. this post:  
http://lists.puredata.info/pipermail/pd-list/2004-08/021838.html
suggests the same thing, and looking at the source i saw

g_traversal.c:

static void get_pointer(t_get *x, t_gpointer *gp)
{

...

     for (i = nitems - 1, vp = x->x_variables + i; i >= 0; i--, vp--)
     {
         float f = template_getfloat(template, vp->gv_sym, vec, 1);
         outlet_float(vp->gv_outlet, f);
             /* LATER deal with other types. */
     }
}

and similar code for "set".

am i right in assuming that it's just not been implemented yet?
if so, are there any plans to do this in the near future or would
it be useful to try to implement get/set for the symbols and
send the patch to this list?

vasily




More information about the Pd-dev mailing list