Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSHTTPURLResponse.d @ 1:8b48be5454ce
The internal cocoa classes compile now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 19 Aug 2008 17:35:17 +0200 |
parents | 380af2bdd8e5 |
children | f565d3a95c0a |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSHTTPURLResponse.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSHTTPURLResponse.d Tue Aug 19 17:35:17 2008 +0200 @@ -35,7 +35,7 @@ public NSDictionary allHeaderFields () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_allHeaderFields); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_allHeaderFields); return result !is null ? new NSDictionary(result) : null; } @@ -47,7 +47,7 @@ public NSInteger statusCode () { - return OS.objc_msgSend(this.id, OS.sel_statusCode); + return cast(NSInteger) OS.objc_msgSend(this.id_, OS.sel_statusCode); } }