diff dwt/internal/objc/runtime.d @ 10:30a762abda2a

Revert automatic changes from dwt/internal and dwt/dwthelper. Excluded dwt/internal/image and theme.
author Frank Benoit <benoit@tionex.de>
date Thu, 28 Aug 2008 12:31:10 +0200
parents e831403a80a9
children 5b53d338c709
line wrap: on
line diff
--- a/dwt/internal/objc/runtime.d	Wed Aug 27 14:36:41 2008 +0200
+++ b/dwt/internal/objc/runtime.d	Thu Aug 28 12:31:10 2008 +0200
@@ -25,7 +25,7 @@
 alias objc_class* Class;
 alias objc_object* id;
 
-alias extern cast(C) id function(id, SEL, ...) IMP;
+alias extern (C) id function(id, SEL, ...) IMP;
 
 struct objc_object
 {
@@ -58,7 +58,7 @@
     char* ivar_type;
     int ivar_offset;
 
-    version cast(X86_64)
+    version (X86_64)
         int space;
 }
 
@@ -66,7 +66,7 @@
 {
     int ivar_count;
 
-    version cast(X86_64)
+    version (X86_64)
         int space;
 
     /* variable length structure */
@@ -86,7 +86,7 @@
 
     int method_count;
 
-    version cast(X86_64)
+    version (X86_64)
         int space;
 
     /* variable length structure */
@@ -178,10 +178,10 @@
     return dwt.internal.objc.bindings.objc_msgSendSuper(superr, op.ptr, args);
 }
 
-version cast(X86)
+version (X86)
 {
     double objc_msgSend_fpret(ARGS...)(id self, string op, ARGS args)
     {
         return dwt.internal.objc.bindings.objc_msgSend_fpret(self, op.ptr, args);
     }
-}
+}
\ No newline at end of file