@@ -81,11 +81,11 @@ */ typedef OFComparisonResult (^OFComparator)(id _Nonnull left, id _Nonnull right); #endif /** - * @brief An enum for representing endianess. + * @brief An enum for representing endianness. */ typedef enum { /** Most significant byte first (big endian) */ OFByteOrderBigEndian, /** Least significant byte first (little endian) */ @@ -113,11 +113,11 @@ /** * @brief Creates a new OFRange. * * @param start The starting index of the range * @param length The length of the range - * @return An OFRangeith the specified start and length + * @return An OFRange with the specified start and length */ static OF_INLINE OFRange OF_CONST_FUNC OFMakeRange(size_t start, size_t length) { OFRange range = { start, length }; @@ -1375,11 +1375,12 @@ /** * @protocol OFComparing OFObject.h ObjFW/OFObject.h * * @brief A protocol for comparing objects. * - * This protocol is implemented by objects that can be compared. Its only method, @ref compare:, should be overridden with a stronger type. + * This protocol is implemented by objects that can be compared. Its only + * method, @ref compare:, should be overridden with a stronger type. */ @protocol OFComparing /** * @brief Compares the object to another object. * @@ -1448,11 +1449,11 @@ /** * @brief Frees memory allocated by @ref OFAllocMemory, @ref OFAllocZeroedMemory * or @ref OFResizeMemory. * - * @param pointer A pointer to the memory to free or nil (passing nil ooes + * @param pointer A pointer to the memory to free or nil (passing nil does * nothing) */ extern void OFFreeMemory(void *_Nullable pointer); #ifdef OF_APPLE_RUNTIME