diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-03 04:35:22 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-03 04:35:22 +0000 |
commit | cdf86b37d6180f5f88393c02d8f5e19e2e645ad6 (patch) | |
tree | 69f866117656c701f9febb83bcea9fa67ae9c955 /externals/grill/flext/source/flsupport.h | |
parent | 10e0265429983876e2fd69950df4d51c8faf5635 (diff) |
""
svn path=/trunk/; revision=317
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r-- | externals/grill/flext/source/flsupport.h | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h index 329c147f..060da5d9 100644 --- a/externals/grill/flext/source/flsupport.h +++ b/externals/grill/flext/source/flsupport.h @@ -157,6 +157,15 @@ public: //! Sleep for an amount of time static void Sleep(double s); + + /*! \brief Fold value to a number of bits + \remark Good for hash generation + */ + static int FoldBits(unsigned long h,int bits); + + //! \brief How many bits are necessary to represent n + static int Int2Bits(unsigned long n); + //! @} FLEXT_S_UTIL // --- various symbols -------------------------------------------- @@ -407,23 +416,6 @@ public: //! @} FLEXT_S_ATOM -// --- utilities ------------------------------------------------ - - /*! \defgroup FLEXT_S_UTIL Flext utility functions - @{ - */ - - /*! \brief Fold value to a number of bits - \remark Good for hash generation - */ - static int FoldBits(unsigned long h,int bits); - - //! \brief How many bits are necessary to represent n - static int Int2Bits(unsigned long n); - -//! @} FLEXT_S_UTIL - - // --- clock stuff ------------------------------------------------ |