r165517 - in /trunk/libobjc: ChangeLog Protocol...

nicola@gcc.gnu.org nicola@gcc.gnu.org
Fri Oct 15 18:24:00 GMT 2010


Author: nicola
Date: Fri Oct 15 18:24:27 2010
New Revision: 165517

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165517
Log:
In libobjc/:
2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>

        * Protocol.m: Include objc/runtime.h and
        objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
        repeat Protocol's instance variables.
        (struct objc_method_description_list): Do not define here.
        ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
        ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
        selectors directly instead of getting names and then using strcmp.
        ([descriptionForClassMethod:]): Same change.
        ([-isEqual:]): Reimplemented on top of protocol_isEqual().
        * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
        to compare selectors directly instead of getting names and then
        using strcmp.
        * objc/Protocol.h: Updated comments.

Modified:
    trunk/libobjc/ChangeLog
    trunk/libobjc/Protocol.m
    trunk/libobjc/objc/Protocol.h
    trunk/libobjc/protocols.c



More information about the Gcc-cvs mailing list