aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-11-12 03:35:26 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-11-12 03:35:26 +0000
commit7e747f8cd9634260c3bbcce628a481d72e5cab3c (patch)
tree8d75ce32422af11d1517cd4378e196151185fd17 /externals/grill/flext/source/flsupport.h
parent1a27ba8f28e0915e6abc102e2634d99d41fd59fb (diff)
""
svn path=/trunk/; revision=1179
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 5ec2b64a..5e63ded0 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -59,14 +59,16 @@ public:
*/
static void *NewLarge(size_t bytes) { return ::operator new(bytes); }
//! Free a large memory block
- static void FreeLarge(void *blk) { return ::operator delete(blk); }
+ static void FreeLarge(void *blk) { ::operator delete(blk); }
//! Get an aligned memory block
static void *NewAligned(size_t bytes,int bitalign = 128);
//! Free an aligned memory block
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; }
+ static bool IsAligned(void *ptr,int bitalign = 128) {
+ return (reinterpret_cast<unsigned long>(ptr)&(bitalign-1)) == 0;
+ }
//! @} FLEXT_S_MEMORY
@@ -720,7 +722,8 @@ public:
protected:
- static thrid_t thrhelpid,thrmsgid;
+ static thrid_t thrhelpid;
+ static thrid_t thrmsgid;
static bool StartHelper();
static bool StopHelper();
static void ThrHelper(void *);