Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSLock.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/NSLock.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSLock.d Tue Aug 19 17:35:17 2008 +0200 @@ -34,23 +34,23 @@ public bool lockBeforeDate (NSDate limit) { - return OS.objc_msgSend(this.id, OS.sel_lockBeforeDate_1, limit !is null ? limit.id : null) !is null; + return OS.objc_msgSend(this.id_, OS.sel_lockBeforeDate_1, limit !is null ? limit.id_ : null) !is null; } public NSString name () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_name); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_name); return result !is null ? new NSString(result) : null; } public void setName (NSString n) { - OS.objc_msgSend(this.id, OS.sel_setName_1, n !is null ? n.id : null); + OS.objc_msgSend(this.id_, OS.sel_setName_1, n !is null ? n.id_ : null); } public bool tryLock () { - return OS.objc_msgSend(this.id, OS.sel_tryLock) !is null; + return OS.objc_msgSend(this.id_, OS.sel_tryLock) !is null; } }