[PD] t_scalar member sc_vec
Charles Goyard
cg at fsck.fr
Fri Feb 21 13:23:26 CET 2014
Hi,
Sorry for this question, but why isn't sc_vec a good old pointer ?
> t_gobj sc_gobj; /* header for graphical object */
> t_symbol *sc_template; /* template name (LATER replace with pointer) */
> t_word sc_vec[1]; /* indeterminate-length array of words */
> } t_scalar;
>
> How is a static t_word array of size 1 an indeterminate-length array? Is its placement as the last member of the struct required?
More information about the Pd-list
mailing list