[PD-dev] Scalar creation

Jonathan Wilkes jancsika at yahoo.com
Thu Jun 2 19:37:05 CEST 2011


Hi list,
     I've been looking at g_scalar.c in the source code, and been going in 
circles trying to figure out why the class scalar is created in a different 
manner from other pd object classes (i.e., why I can't just do 
[scalar foo 20 20]?).  Couldn't scalar_new just take the args from the 
object box, and couldn't the containing glist be found by using canvas_getcurrent?

-Jonathan



More information about the Pd-dev mailing list