diff dwt/internal/cocoa/NSPoint.d @ 45:d8635bb48c7c

Merge with SWT 3.5
author Jacob Carlborg <doob@me.com>
date Mon, 01 Dec 2008 17:07:00 +0100
parents 642f460a0908
children 62202ce0039f
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSPoint.d	Tue Oct 21 15:20:04 2008 +0200
+++ b/dwt/internal/cocoa/NSPoint.d	Mon Dec 01 17:07:00 2008 +0100
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2007 IBM Corporation and others.
+ * Copyright (c) 2008 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -9,18 +9,16 @@
  *     IBM Corporation - initial API and implementation
  *     
  * Port to the D programming language:
- *     Jacob Carlborg <jacob.carlborg@gmail.com>
+ *     Jacob Carlborg <doob@me.com>
  *******************************************************************************/
 module dwt.internal.cocoa.NSPoint;
 
-import dwt.internal.cocoa.CGFloat;
-
-extern (C):
+import dwt.dwthelper.utils;
+import dwt.internal.c.Carbon;
 
 alias NSPoint* NSPointArray;
-alias NSPoint* NSPointPointer;
 
 public struct NSPoint {
-    public CGFloat x = 0;
-    public CGFloat y = 0;
+    public CGFloat x;
+    public CGFloat y;
 }