Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25168
Modified Files: Tag: desiredata desire.h m_pd.h s_stuff.h Log Message: blah
Index: m_pd.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v retrieving revision 1.4.4.11.2.33.2.46 retrieving revision 1.4.4.11.2.33.2.47 diff -C2 -d -r1.4.4.11.2.33.2.46 -r1.4.4.11.2.33.2.47 *** m_pd.h 28 Jun 2007 06:30:15 -0000 1.4.4.11.2.33.2.46 --- m_pd.h 9 Jul 2007 19:50:19 -0000 1.4.4.11.2.33.2.47 *************** *** 329,333 **** EXTERN t_float atom_getfloat( t_atom *a); EXTERN t_int atom_getint( t_atom *a); ! EXTERN t_symbol *atom_getsymbol(t_atom *a); /* t_symbol guaranteed to live forever */ EXTERN const char *atom_getstring(t_atom *a); /* the return value should be used only immediately */ EXTERN t_symbol *atom_gensym( t_atom *a); --- 329,333 ---- EXTERN t_float atom_getfloat( t_atom *a); EXTERN t_int atom_getint( t_atom *a); ! EXTERN t_symbol *atom_getsymbol(t_atom *a); /* this call causes a t_symbol to become æternal */ EXTERN const char *atom_getstring(t_atom *a); /* the return value should be used only immediately */ EXTERN t_symbol *atom_gensym( t_atom *a);
Index: desire.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.h,v retrieving revision 1.1.2.49.2.27 retrieving revision 1.1.2.49.2.28 diff -C2 -d -r1.1.2.49.2.27 -r1.1.2.49.2.28 *** desire.h 28 Jun 2007 05:24:20 -0000 1.1.2.49.2.27 --- desire.h 9 Jul 2007 19:50:19 -0000 1.1.2.49.2.28 *************** *** 323,325 **** --- 323,330 ---- } #endif + + #ifdef PD_PLUSPLUS_FACE + template <class T> static T min(T a, T b) {return a<b?a:b;} + template <class T> static T max(T a, T b) {return a>b?a:b;} + #endif #endif /* __DESIRE_H */
Index: s_stuff.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_stuff.h,v retrieving revision 1.5.4.10.2.8.2.9 retrieving revision 1.5.4.10.2.8.2.10 diff -C2 -d -r1.5.4.10.2.8.2.9 -r1.5.4.10.2.8.2.10 *** s_stuff.h 30 Jun 2007 20:10:40 -0000 1.5.4.10.2.8.2.9 --- s_stuff.h 9 Jul 2007 19:50:19 -0000 1.5.4.10.2.8.2.10 *************** *** 200,204 **** #ifdef UNIX void sys_setalarm(int microsec); ! void sys_setvirtualalarm( void); #endif
--- 200,204 ---- #ifdef UNIX void sys_setalarm(int microsec); ! void sys_setvirtualalarm(void); #endif