@@ -17,11 +17,11 @@ #import "OFXMLNode.h" OF_ASSUME_NONNULL_BEGIN -/*! +/** * @class OFXMLComment OFXMLComment.h ObjFW/OFXMLComment.h * * @brief A class for representing XML comments. */ @interface OFXMLComment: OFXMLNode @@ -28,19 +28,19 @@ { OFString *_comment; OF_RESERVE_IVARS(OFXMLComment, 4) } -/*! +/** * @brief Creates a new OFXMLComment with the specified string. * * @param string The string for the comment * @return A new OFXMLComment */ + (instancetype)commentWithString: (OFString *)string; -/*! +/** * @brief Initializes an already allocated OFXMLComment with the specified * string. * * @param string The string for the comment * @return An initialized OFXMLComment