Update of /cvsroot/pure-data/externals/grill/flext/source In directory sc8-pr-cvs1:/tmp/cvs-serv10272/source
Modified Files: flattr_ed.cpp flqueue.cpp flstdc.h flsupport.h Log Message: ""
Index: flattr_ed.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flattr_ed.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** flattr_ed.cpp 18 Sep 2003 02:32:49 -0000 1.14 --- flattr_ed.cpp 12 Nov 2003 03:35:18 -0000 1.15 *************** *** 466,473 **** int argc = binbuf_getnatom(t->te_binbuf); t_atom *argv = binbuf_getvec(t->te_binbuf); ! int cnt = CheckAttrib(argc,argv);
// process the creation arguments ! for(int i = 1; i < cnt; ++i) BinbufAdd(b,argv[i]);
// process the attributes --- 466,473 ---- int argc = binbuf_getnatom(t->te_binbuf); t_atom *argv = binbuf_getvec(t->te_binbuf); ! int i,cnt = CheckAttrib(argc,argv);
// process the creation arguments ! for(i = 1; i < cnt; ++i) BinbufAdd(b,argv[i]);
// process the attributes *************** *** 476,480 **** cnt = la.Count();
! for(int i = 0; i < cnt; ++i) { const t_symbol *sym = GetSymbol(la[i]); AtomList lv; --- 476,480 ---- cnt = la.Count();
! for(i = 0; i < cnt; ++i) { const t_symbol *sym = GetSymbol(la[i]); AtomList lv;
Index: flqueue.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flqueue.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** flqueue.cpp 10 Nov 2003 03:32:53 -0000 1.12 --- flqueue.cpp 12 Nov 2003 03:35:19 -0000 1.13 *************** *** 20,25 **** --- 20,27 ---- #include "flinternal.h"
+ #ifdef FLEXT_THREADS //! Thread id of message queue thread flext::thrid_t flext::thrmsgid = 0; + #endif
class qmsg
Index: flstdc.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flstdc.h,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** flstdc.h 17 Sep 2003 02:32:55 -0000 1.17 --- flstdc.h 12 Nov 2003 03:35:19 -0000 1.18 *************** *** 98,107 **** #endif
! extern "C" ! { ! #include "ext.h" ! #include "ext_user.h" ! #include "z_dsp.h" ! }
#undef WIN_VERSION --- 98,104 ---- #endif
! #include "ext.h" ! #include "ext_user.h" ! #include "z_dsp.h"
#undef WIN_VERSION
Index: flsupport.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flsupport.h,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** flsupport.h 10 Nov 2003 03:32:53 -0000 1.53 --- flsupport.h 12 Nov 2003 03:35:19 -0000 1.54 *************** *** 60,64 **** static void *NewLarge(size_t bytes) { return ::operator new(bytes); } //! Free a large memory block ! static void FreeLarge(void *blk) { return ::operator delete(blk); }
//! Get an aligned memory block --- 60,64 ---- static void *NewLarge(size_t bytes) { return ::operator new(bytes); } //! Free a large memory block ! static void FreeLarge(void *blk) { ::operator delete(blk); }
//! Get an aligned memory block *************** *** 67,71 **** static void FreeAligned(void *blk); //! Test for alignment ! static bool IsAligned(void *ptr,int bitalign = 128) { return (reinterpret_cast<unsigned long long>(ptr)&(bitalign-1)) == 0; } //! @} FLEXT_S_MEMORY --- 67,73 ---- static void FreeAligned(void *blk); //! Test for alignment ! static bool IsAligned(void *ptr,int bitalign = 128) { ! return (reinterpret_cast<unsigned long>(ptr)&(bitalign-1)) == 0; ! } //! @} FLEXT_S_MEMORY *************** *** 721,725 **** protected:
! static thrid_t thrhelpid,thrmsgid; static bool StartHelper(); static bool StopHelper(); --- 723,728 ---- protected:
! static thrid_t thrhelpid; ! static thrid_t thrmsgid; static bool StartHelper(); static bool StopHelper();