[PD-cvs] pd/src m_pd.h,1.4.4.11.2.33.2.55,1.4.4.11.2.33.2.56
Mathieu Bouchard
matju at users.sourceforge.net
Thu Jul 19 05:33:48 CEST 2007
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1933
Modified Files:
Tag: desiredata
m_pd.h
Log Message:
added casts from t_atom to float and t_symbol; e.g. (float)a == a->a_w.w_float
Index: m_pd.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v
retrieving revision 1.4.4.11.2.33.2.55
retrieving revision 1.4.4.11.2.33.2.56
diff -C2 -d -r1.4.4.11.2.33.2.55 -r1.4.4.11.2.33.2.56
*** m_pd.h 19 Jul 2007 01:13:14 -0000 1.4.4.11.2.33.2.55
--- m_pd.h 19 Jul 2007 03:33:46 -0000 1.4.4.11.2.33.2.56
***************
*** 161,164 ****
--- 161,168 ----
t_atomtype a_type;
union word a_w;
+ #ifdef __cplusplus
+ operator float () {return a_w.w_float;}
+ operator t_symbol *() {return a_w.w_symbol;}
+ #endif
} t_atom;
More information about the Pd-cvs
mailing list