Mercurial > projects > dstep
comparison dstep/foundation/NSNull.d @ 15:7ff919f595d5
Added the Foundation framework, again
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 15:31:48 +0200 |
parents | 89f3c3ef1fd2 |
children | 19885b43130e |
comparison
equal
deleted
inserted
replaced
14:89f3c3ef1fd2 | 15:7ff919f595d5 |
---|---|
14 { | 14 { |
15 mixin ObjcWrap; | 15 mixin ObjcWrap; |
16 | 16 |
17 static NSNull null_ () | 17 static NSNull null_ () |
18 { | 18 { |
19 return invokeObjcSelfClass!(NSNull, "null"return result is this.objcObject ? this : (result !is null ? new NSNull(result) : null); } | 19 return invokeObjcSelfClass!(NSNull, "null"); |
20 } | |
20 | 21 |
21 Object copyWithZone (NSZone* zone) | 22 Object copyWithZone (NSZone* zone) |
22 { | 23 { |
23 return invokeObjcSelf!(Object, "copyWithZone:", NSZone*)(zone); | 24 return invokeObjcSelf!(Object, "copyWithZone:", NSZone*)(zone); |
24 } | 25 } |