Mercurial > projects > dstep
comparison dstep/foundation/NSPointerArray.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 |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
34 } | 34 } |
35 `; | 35 `; |
36 | 36 |
37 class NSPointerArray : NSObject, INSFastEnumeration, INSCopying, INSCoding | 37 class NSPointerArray : NSObject, INSFastEnumeration, INSCopying, INSCoding |
38 { | 38 { |
39 mixin (ObjcWrap); | 39 mixin ObjcWrap; |
40 | |
41 this (id object) | |
42 { | |
43 super(object); | |
44 } | |
40 | 45 |
41 this () | 46 this () |
42 { | 47 { |
43 super(typeof(this).alloc.init.objcObject); | 48 super(typeof(this).alloc.init.objcObject); |
44 } | 49 } |