Update of /cvsroot/pure-data/externals/grill/flext/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18507/source
Modified Files: flbuf.cpp Log Message: changes for devel_0_39 support
Index: flbuf.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flbuf.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** flbuf.cpp 10 Mar 2005 04:56:40 -0000 1.23 --- flbuf.cpp 17 Jul 2005 11:33:38 -0000 1.24 *************** *** 23,28 **** // check if PD API supports buffer dirty time #if defined(PD_DEVEL_VERSION) && defined(PD_MAJOR_VERSION) && defined(PD_MINOR_VERSION) ! #if PD_MINOR_VERSION >= 36 ! #define FLEXT_PDBUFDIRTYTIME #endif #endif --- 23,30 ---- // check if PD API supports buffer dirty time #if defined(PD_DEVEL_VERSION) && defined(PD_MAJOR_VERSION) && defined(PD_MINOR_VERSION) ! #if PD_MINOR_VERSION >= 36 && PD_MINOR_VERSION <= 38 ! // garray_updatetime has been removed in devel_0_39 ! #define FLEXT_HAVE_GARRAYUPDATETIME ! #define FLEXT_HAVE_GARRAYLOCKS #endif #endif *************** *** 183,187 **** #if FLEXT_SYS == FLEXT_SYS_PD FLEXT_ASSERT(arr); ! #if PD_MINOR_VERSION >= 38 && defined(PD_DEVEL_VERSION) garray_lock(arr); #endif --- 185,189 ---- #if FLEXT_SYS == FLEXT_SYS_PD FLEXT_ASSERT(arr); ! #ifdef FLEXT_HAVE_GARRAYLOCKS garray_lock(arr); #endif *************** *** 208,212 **** #if FLEXT_SYS == FLEXT_SYS_PD FLEXT_ASSERT(arr); ! #if PD_MINOR_VERSION >= 38 && defined(PD_DEVEL_VERSION) garray_unlock(arr); #endif --- 210,214 ---- #if FLEXT_SYS == FLEXT_SYS_PD FLEXT_ASSERT(arr); ! #ifdef FLEXT_HAVE_GARRAYLOCKS garray_unlock(arr); #endif *************** *** 338,342 **** #if FLEXT_SYS == FLEXT_SYS_PD FLEXT_ASSERT(arr); ! #ifdef FLEXT_PDBUFDIRTYTIME return isdirty || garray_updatetime(arr) > cleantime; #else --- 340,344 ---- #if FLEXT_SYS == FLEXT_SYS_PD FLEXT_ASSERT(arr); ! #ifdef FLEXT_HAVE_GARRAYUPDATETIME return isdirty || garray_updatetime(arr) > cleantime; #else