Mercurial > projects > dstep
diff dstep/foundation/NSLock.d @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 19885b43130e |
children |
line wrap: on
line diff
--- a/dstep/foundation/NSLock.d Wed Feb 10 19:24:32 2010 +0100 +++ b/dstep/foundation/NSLock.d Tue Apr 06 11:37:27 2010 +0200 @@ -15,7 +15,12 @@ class NSLock : NSObject, INSLocking { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -60,7 +65,12 @@ class NSCondition : NSObject, INSLocking { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -115,7 +125,12 @@ class NSConditionLock : NSObject, INSLocking { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -195,7 +210,12 @@ class NSRecursiveLock : NSObject, INSLocking { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () {