comparison dstep/foundation/NSObject.d @ 20:6255d355d752

Made it compile with dmd 1.056
author Jacob Carlborg <doob@me.com>
date Wed, 03 Feb 2010 18:28:01 +0100
parents 19885b43130e
children f8a3b67adfcb
comparison
equal deleted inserted replaced
19:ae08a08f44d3 20:6255d355d752
482 } 482 }
483 483
484 // NSConnectionDelegateMethods 484 // NSConnectionDelegateMethods
485 bool makeNewConnection (NSConnection conn, NSConnection ancestor) 485 bool makeNewConnection (NSConnection conn, NSConnection ancestor)
486 { 486 {
487 return invokeObjcSelf!(bool, "makeNewConnection:sender:")(conn, ancestor); 487 return invokeObjcSelf!(bool, "makeNewConnection:sender:", NSConnection, NSConnection)(conn, ancestor);
488 } 488 }
489 489
490 bool connection (NSConnection ancestor, NSConnection conn) 490 bool connection (NSConnection ancestor, NSConnection conn)
491 { 491 {
492 return invokeObjcSelf!(bool, "connection:shouldMakeNewConnection:", NSConnection, NSConnection)(ancestor, conn); 492 return invokeObjcSelf!(bool, "connection:shouldMakeNewConnection:", NSConnection, NSConnection)(ancestor, conn);
497 return invokeObjcSelf!(NSData, "authenticationDataForComponents:", NSArray)(components); 497 return invokeObjcSelf!(NSData, "authenticationDataForComponents:", NSArray)(components);
498 } 498 }
499 499
500 bool authenticateComponents (NSArray components, NSData signature) 500 bool authenticateComponents (NSArray components, NSData signature)
501 { 501 {
502 return invokeObjcSelf!(bool, "authenticateComponents:withData:")(components, signature); 502 return invokeObjcSelf!(bool, "authenticateComponents:withData:", NSArray, NSData)(components, signature);
503 } 503 }
504 504
505 Object createConversationForConnection (NSConnection conn) 505 Object createConversationForConnection (NSConnection conn)
506 { 506 {
507 return invokeObjcSelf!(Object, "createConversationForConnection:")(conn); 507 return invokeObjcSelf!(Object, "createConversationForConnection:", NSConnection)(conn);
508 } 508 }
509 509
510 // NSCopyLinkMoveHandler 510 // NSCopyLinkMoveHandler
511 bool fileManager (NSFileManager fm, NSDictionary errorInfo) 511 bool fileManager (NSFileManager fm, NSDictionary errorInfo)
512 { 512 {