comparison dstep/foundation/NSInvocation.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
16 { 16 {
17 mixin ObjcWrap; 17 mixin ObjcWrap;
18 18
19 static NSInvocation invocationWithMethodSignature (NSMethodSignature sig) 19 static NSInvocation invocationWithMethodSignature (NSMethodSignature sig)
20 { 20 {
21 return invokeObjcSelfClass!(NSInvocation, "invocationWithMethodSignature:", NSMethodSignature)(sigreturn result is this.objcObject ? this : (result !is null ? new NSInvocation(result) : null); } 21 return invokeObjcSelfClass!(NSInvocation, "invocationWithMethodSignature:", NSMethodSignature)(sig);
22 }
22 23
23 NSMethodSignature methodSignature () 24 NSMethodSignature methodSignature ()
24 { 25 {
25 return invokeObjcSelf!(NSMethodSignature, "methodSignature"); 26 return invokeObjcSelf!(NSMethodSignature, "methodSignature");
26 } 27 }