diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-02-22 03:34:00 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-02-22 03:34:00 +0000 |
commit | 74e28b058aaf629d94ad7d44a9add3062e89441d (patch) | |
tree | e2a99c9f85f48108d1e1bc98b754143d953adb22 /externals/grill/flext/source/flsupport.cpp | |
parent | cc4ac0dd18e12e0f7e1d06eeb5133cb018aa0ebe (diff) |
""
svn path=/trunk/; revision=1326
Diffstat (limited to 'externals/grill/flext/source/flsupport.cpp')
-rw-r--r-- | externals/grill/flext/source/flsupport.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp index fad8db16..6c203124 100644 --- a/externals/grill/flext/source/flsupport.cpp +++ b/externals/grill/flext/source/flsupport.cpp @@ -2,7 +2,7 @@ flext - C++ layer for Max/MSP and pd (pure data) externals -Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -273,23 +273,6 @@ unsigned long flext::AtomHash(const t_atom &a) #endif } -unsigned int flext::FoldBits(unsigned long h,int bits) -{ - if(!bits) return 0; - const int hmax = (1<<bits)-1; - unsigned int ret = 0; - for(unsigned int i = 0; i < sizeof(h)*8; i += bits) - ret ^= (h>>i)&hmax; - return ret; -} - -int flext::Int2Bits(unsigned long n) -{ - int b; - for(b = 0; n; ++b) n >>= 1; - return b; -} - void flext_root::post(const char *fmt, ...) { |