diff dwt/internal/cocoa/NSValue.d @ 60:62202ce0039f

Updated and fixed many modules to 3.514
author Jacob Carlborg <doob@me.com>
date Mon, 22 Dec 2008 15:10:19 +0100
parents d8635bb48c7c
children
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSValue.d	Tue Dec 09 21:52:21 2008 +0100
+++ b/dwt/internal/cocoa/NSValue.d	Mon Dec 22 15:10:19 2008 +0100
@@ -22,6 +22,7 @@
 import dwt.internal.cocoa.NSSize;
 import dwt.internal.cocoa.OS;
 import objc = dwt.internal.objc.runtime;
+import bindings = dwt.internal.objc.bindings;
 
 public class NSValue : NSObject {
 
@@ -39,19 +40,19 @@
 
 public NSPoint pointValue() {
     NSPoint result = NSPoint();
-    OS.objc_msgSend_stret(result, this.id, OS.sel_pointValue);
+    OS.objc_msgSend_stret(&result, this.id, OS.sel_pointValue);
     return result;
 }
 
 public NSRange rangeValue() {
     NSRange result = NSRange();
-    OS.objc_msgSend_stret(result, this.id, OS.sel_rangeValue);
+    OS.objc_msgSend_stret(&result, this.id, OS.sel_rangeValue);
     return result;
 }
 
 public NSSize sizeValue() {
     NSSize result = NSSize();
-    OS.objc_msgSend_stret(result, this.id, OS.sel_sizeValue);
+    OS.objc_msgSend_stret(&result, this.id, OS.sel_sizeValue);
     return result;
 }
 
@@ -74,5 +75,5 @@
     objc.id result = OS.objc_msgSend(OS.class_NSValue, OS.sel_valueWithSize_, size);
     return result !is null ? new NSValue(result) : null;
 }
-
+    
 }