diff dwt/internal/LONG.d @ 240:ce446666f5a2

Update to SWT 3.4M7
author Frank Benoit <benoit@tionex.de>
date Mon, 12 May 2008 19:13:01 +0200
parents f2e04420fd6c
children
line wrap: on
line diff
--- a/dwt/internal/LONG.d	Mon May 12 15:36:37 2008 +0200
+++ b/dwt/internal/LONG.d	Mon May 12 19:13:01 2008 +0200
@@ -12,24 +12,6 @@
  *******************************************************************************/
 module dwt.internal.LONG;
 
-public class LONG {
-    public int /*long*/ value;
-
-    public this (int /*long*/ value) {
-        this.value = value;
-    }
+import dwt.dwthelper.utils;
 
-    public override int opEquals (Object object) {
-        if (object is this){
-            return true;
-        }
-        if ( auto obj = cast(LONG)object ) {
-            return obj.value == this.value;
-        }
-        return false;
-    }
-
-    public override hash_t toHash () {
-        return /*64*/value;
-    }
-}
+alias Integer LONG;