@@ -17,11 +17,11 @@ #import "OFException.h" OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFMemoryNotPartOfObjectException \ * OFMemoryNotPartOfObjectException.h \ * ObjFW/OFMemoryNotPartOfObjectException.h * * @brief An exception indicating the given memory is not part of the object. @@ -30,23 +30,23 @@ { void *_Nullable _pointer; id _object; } -/*! +/** * @brief A pointer to the memory which is not part of the object. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) void *pointer; -/*! +/** * @brief The object which the memory is not part of. */ @property (readonly, nonatomic) id object; + (instancetype)exception OF_UNAVAILABLE; -/*! +/** * @brief Creates a new, autoreleased memory not part of object exception. * * @param pointer A pointer to the memory that is not part of the object * @param object The object which the memory is not part of * @return A new, autoreleased memory not part of object exception @@ -54,11 +54,11 @@ + (instancetype)exceptionWithPointer: (nullable void *)pointer object: (id)object; - (instancetype)init OF_UNAVAILABLE; -/*! +/** * @brief Initializes an already allocated memory not part of object exception. * * @param pointer A pointer to the memory that is not part of the object * @param object The object which the memory is not part of * @return An initialized memory not part of object exception