[PD-dev] t_canvas vs t_glist

Mathieu Bouchard matju at sympatico.ca
Tue Mar 30 08:21:19 CEST 2004


quoteth m_pd.h :

> EXTERN_STRUCT _glist;
> #define t_glist struct _glist
> #define t_canvas struct _glist	/* LATER lose this */

How would it be losed? would t_glist be chosen as canonic, or t_canvas be
chosen as canonic, or a third name would be chosen as canonic (like
t_patcher maybe), or would the two structures become different (!!!)...

And then, why use #define instead of typedef?

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju





More information about the Pd-dev mailing list