diff dwt/graphics/Drawable.d @ 36:db5a898b2119

Fixed a lot of compile errors
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 07 Oct 2008 12:56:18 +0200
parents b9226997409c
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/graphics/Drawable.d	Sun Sep 14 23:32:29 2008 +0200
+++ b/dwt/graphics/Drawable.d	Tue Oct 07 12:56:18 2008 +0200
@@ -13,8 +13,10 @@
  *******************************************************************************/
 module dwt.graphics.Drawable;
 
+import dwt.graphics.GCData;
+
 import dwt.dwthelper.utils;
-import dwt.graphics.GCData;
+import objc = dwt.internal.objc.runtime;
 
 /**
  * Implementers of <code>Drawable</code> can have a graphics context cast(GC)
@@ -48,7 +50,7 @@
  * @return the platform specific GC handle
  */
  
-public size_t /*long*/ internal_new_GC (GCData data);
+public objc.id /*long*/ internal_new_GC (GCData data);
 
 /**  
  * Invokes platform specific functionality to dispose a GC handle.
@@ -63,6 +65,6 @@
  * @param handle the platform specific GC handle
  * @param data the platform specific GC data 
  */
-public void internal_dispose_GC (size_t /*long*/ handle, GCData data);
+public void internal_dispose_GC (objc.id /*long*/ handle, GCData data);
 
 }