Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv720/src
Modified Files: Tag: devel_0_39 m_class.c Log Message: fixed desire-data stuff
Index: m_class.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_class.c,v retrieving revision 1.3.4.7.2.4 retrieving revision 1.3.4.7.2.5 diff -C2 -d -r1.3.4.7.2.4 -r1.3.4.7.2.5 *** m_class.c 21 Oct 2005 13:17:51 -0000 1.3.4.7.2.4 --- m_class.c 22 Oct 2005 19:51:24 -0000 1.3.4.7.2.5 *************** *** 234,239 **** --- 234,241 ---- c->c_firstin = ((flags & CLASS_NOINLET) == 0); c->c_firsttip = gensym("?"); + #ifdef DESIRE c->c_fields = malloc(sizeof(t_symbol *)*31); c->c_nfields = 0; + #endif c->c_patchable = (typeflag == CLASS_PATCHABLE); c->c_gobj = (typeflag >= CLASS_GOBJ); *************** *** 449,454 **** }
! void class_setnotice(t_class *c, t_notice notice) {c->c_notice = notice;} !
--- 451,460 ---- }
! #ifdef DESIRE ! void class_setnotice(t_class *c, t_notice notice) ! { ! c->c_notice = notice; ! } ! #endif
*************** *** 934,937 **** --- 940,944 ---- }
+ #ifdef DESIRE /* ---------------------------------------------------------------- */ /* desiredata-specific stuff */ *************** *** 957,959 **** return -1; } ! --- 964,966 ---- return -1; } ! #endif