[PD] datastruct newbie mistake

Frank Barknecht fbar at footils.org
Tue Oct 3 17:01:00 CEST 2006

Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:

> To me, the "-1" flag is really not needed, but then I might be missing 
> something... something like: a t_gpointer is not a weakref to a t_scalar, 
> it's a weakref to a t_canvas with an extra unsafe pointer to the t_scalar, 
> so the only way you can delete the t_scalar safely is by first deleting 
> all t_gpointers that refer to it, but that's not possible... anyone 
> correct me if I'm wrong. (I'll touch that code again eventually, but maybe 
> not this year)

Late answer: It is already perfectly possible to delete a scalar in
edit mode: Select it and press Backspace. What's missing is a way to
do this though other means, e.g. by a message to the pointer or though
a "disappend" object.

 Frank Barknecht                 _ ______footils.org_ __goto10.org__

More information about the Pd-list mailing list