[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch to libobjc
From: |
Jeremy Bettis |
Subject: |
Re: patch to libobjc |
Date: |
Wed, 30 Jul 2003 10:56:11 -0500 |
-hash and -isEqual are Object methods, which "happen" to also be in
NSObject.
Would you rather I said, "so they can be used in HashTables, or
NSHashTables"
isEqual: is needed for other reasons also.
----- Original Message -----
From: "Nicola Pero" <address@hidden>
To: "Jeremy Bettis" <address@hidden>
Cc: "GNUStep Dev Mailing List" <address@hidden>
Sent: Wednesday, July 30, 2003 3:37 AM
Subject: Re: patch to libobjc
>
> > Here is a patch to libobjc against cvs. It adds -hash and -isEqual to
> > Protocols so that they can be used in NSDictionaries.
>
> Thanks.
>
> Good idea - but if you are adding NSObject methods to Protocols (for
> compatibility with gnustep dictionaries, arrays etc), I'd suggest putting
> them into a category in gnustep-base, rather than into libobjc.
>