@@ -229,11 +229,11 @@ * @brief Checks whether the object conforms to the specified protocol. * * @param protocol The protocol which should be checked for conformance * @return A boolean whether the object conforms to the specified protocol */ -- (bool)conformsToProtocol: (Protocol*)protocol; +- (bool)conformsToProtocol: (Protocol *)protocol; /*! * @brief Returns the implementation for the specified selector. * * @param selector The selector for which the method should be returned @@ -245,11 +245,11 @@ * @brief Returns the type encoding for the specified selector. * * @param selector The selector for which the type encoding should be returned * @return The type encoding for the specified selector */ -- (nullable const char*)typeEncodingForSelector: (SEL)selector; +- (nullable const char *)typeEncodingForSelector: (SEL)selector; /*! * @brief Performs the specified selector. * * @param selector The selector to perform @@ -443,11 +443,11 @@ /*! * @brief Returns the name of the class as a string. * * @return The name of the class as a string */ -+ (OFString*)className; ++ (OFString *)className; /*! * @brief Returns a boolean whether the class is a subclass of the specified * class. * @@ -476,11 +476,11 @@ * @brief Checks whether the class conforms to a given protocol. * * @param protocol The protocol which should be checked for conformance * @return A boolean whether the class conforms to the specified protocol */ -+ (bool)conformsToProtocol: (Protocol*)protocol; ++ (bool)conformsToProtocol: (Protocol *)protocol; /*! * @brief Returns the implementation of the instance method for the specified * selector. * @@ -495,20 +495,20 @@ * selector. * * @param selector The selector for which the type encoding should be returned * @return The type encoding of the instance method for the specified selector */ -+ (nullable const char*)typeEncodingForInstanceSelector: (SEL)selector; ++ (nullable const char *)typeEncodingForInstanceSelector: (SEL)selector; /*! * @brief Returns a description for the class, which is usually the class name. * * This is mostly for debugging purposes. * * @return A description for the class, which is usually the class name */ -+ (OFString*)description; ++ (OFString *)description; /*! * @brief Replaces a class method with a class method from another class. * * @param selector The selector of the class method to replace @@ -541,11 +541,11 @@ * @param typeEncoding The type encoding for the new method * @return The old implementation or `nil` if the method was added */ + (nullable IMP)replaceClassMethod: (SEL)selector withImplementation: (IMP)implementation - typeEncoding: (const char*)typeEncoding; + typeEncoding: (const char *)typeEncoding; /*! * @brief Replaces or adds an instance method. * * If the method already exists, it is replaced and the old implementation @@ -557,11 +557,11 @@ * @param typeEncoding The type encoding for the new method * @return The old implementation or `nil` if the method was added */ + (nullable IMP)replaceInstanceMethod: (SEL)selector withImplementation: (IMP)implementation - typeEncoding: (const char*)typeEncoding; + typeEncoding: (const char *)typeEncoding; /*! * @brief Adds all methods from the specified class to the class that is the * receiver. * @@ -629,30 +629,30 @@ /*! * @brief Returns the name of the object's class. * * @return The name of the object's class */ -- (OFString*)className; +- (OFString *)className; /*! * @brief Returns a description for the object. * * This is mostly for debugging purposes. * * @return A description for the object */ -- (OFString*)description; +- (OFString *)description; /*! * @brief Allocates memory and stores it in the object's memory pool. * * It will be freed automatically when the object is deallocated. * * @param size The size of the memory to allocate * @return A pointer to the allocated memory */ -- (void*)allocMemoryWithSize: (size_t)size; +- (void *)allocMemoryWithSize: (size_t)size; /*! * @brief Allocates memory for the specified number of items and stores it in * the object's memory pool. * @@ -660,12 +660,12 @@ * * @param size The size of each item to allocate * @param count The number of items to allocate * @return A pointer to the allocated memory */ -- (void*)allocMemoryWithSize: (size_t)size - count: (size_t)count; +- (void *)allocMemoryWithSize: (size_t)size + count: (size_t)count; /*! * @brief Resizes memory in the object's memory pool to the specified size. * * If the pointer is NULL, this is equivalent to allocating memory. @@ -673,12 +673,12 @@ * * @param pointer A pointer to the already allocated memory * @param size The new size for the memory chunk * @return A pointer to the resized memory chunk */ -- (nullable void*)resizeMemory: (nullable void*)pointer - size: (size_t)size; +- (nullable void *)resizeMemory: (nullable void *)pointer + size: (size_t)size; /*! * @brief Resizes memory in the object's memory pool to the specific number of * items of the specified size. * @@ -688,22 +688,22 @@ * @param pointer A pointer to the already allocated memory * @param size The size of each item to resize to * @param count The number of items to resize to * @return A pointer to the resized memory chunk */ -- (nullable void*)resizeMemory: (nullable void*)pointer - size: (size_t)size - count: (size_t)count; +- (nullable void *)resizeMemory: (nullable void *)pointer + size: (size_t)size + count: (size_t)count; /*! * @brief Frees allocated memory and removes it from the object's memory pool. * * Does nothing if the pointer is NULL. * * @param pointer A pointer to the allocated memory */ -- (void)freeMemory: (nullable void*)pointer; +- (void)freeMemory: (nullable void *)pointer; /*! * @brief Deallocates the object. * * It is automatically called when the retain count reaches zero. @@ -757,11 +757,11 @@ * @param selector The selector to perform * @param thread The thread on which to perform the selector * @param waitUntilDone Whether to wait until the perform finished */ - (void)performSelector: (SEL)selector - onThread: (OFThread*)thread + onThread: (OFThread *)thread waitUntilDone: (bool)waitUntilDone; /*! * @brief Performs the specified selector on the specified thread with the * specified object. @@ -771,11 +771,11 @@ * @param object The object that is passed to the method specified by the * selector * @param waitUntilDone Whether to wait until the perform finished */ - (void)performSelector: (SEL)selector - onThread: (OFThread*)thread + onThread: (OFThread *)thread withObject: (nullable id)object waitUntilDone: (bool)waitUntilDone; /*! * @brief Performs the specified selector on the specified thread with the @@ -788,11 +788,11 @@ * @param object2 The second object that is passed to the method specified by * the selector * @param waitUntilDone Whether to wait until the perform finished */ - (void)performSelector: (SEL)selector - onThread: (OFThread*)thread + onThread: (OFThread *)thread withObject: (nullable id)object1 withObject: (nullable id)object2 waitUntilDone: (bool)waitUntilDone; /*! @@ -840,11 +840,11 @@ * @param selector The selector to perform * @param thread The thread on which to perform the selector * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector - onThread: (OFThread*)thread + onThread: (OFThread *)thread afterDelay: (of_time_interval_t)delay; /*! * @brief Performs the specified selector on the specified thread with the * specified object after the specified delay. @@ -854,11 +854,11 @@ * @param object The object that is passed to the method specified by the * selector * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector - onThread: (OFThread*)thread + onThread: (OFThread *)thread withObject: (nullable id)object afterDelay: (of_time_interval_t)delay; /*! * @brief Performs the specified selector on the specified thread with the @@ -871,11 +871,11 @@ * @param object2 The second object that is passed to the method specified by * the selector * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector - onThread: (OFThread*)thread + onThread: (OFThread *)thread withObject: (nullable id)object1 withObject: (nullable id)object2 afterDelay: (of_time_interval_t)delay; #endif