Differences From Artifact [f3fad14a9f]:
- File src/OFHash.h — part of check-in [9b2d255a3d] at 2013-02-18 23:05:20 on branch trunk — Make OFHash a protocol. (user: js, size: 1834) [annotate] [blame] [check-ins using]
To Artifact [ecafca2322]:
- File
src/OFHash.h
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 1834) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #import "OFObject.h" /*! * @brief A protocol for classes providing hash functions. */ @protocol OFHash <OFObject> #ifdef OF_HAVE_PROPERTIES | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #import "OFObject.h" /*! * @brief A protocol for classes providing hash functions. */ @protocol OFHash <OFObject> #ifdef OF_HAVE_PROPERTIES @property (readonly, getter=isCalculated) bool calculated; #endif /*! * @brief Creates a new hash. * * @return A new autoreleased OFHash */ |
︙ | ︙ | |||
65 66 67 68 69 70 71 | - (uint8_t*)digest OF_RETURNS_INNER_POINTER; /*! * @brief Returns a boolean whether the hash has already been calculated. * * @return A boolean whether the hash has already been calculated */ | | | 65 66 67 68 69 70 71 72 73 | - (uint8_t*)digest OF_RETURNS_INNER_POINTER; /*! * @brief Returns a boolean whether the hash has already been calculated. * * @return A boolean whether the hash has already been calculated */ - (bool)isCalculated; @end |