ObjFW  Diff

Differences From Artifact [5b759a7789]:

To Artifact [4ea68f1b3c]:


80
81
82
83
84
85
86










87
88
89
90
91
92
93
/*!
 * @brief Initializes an already allocated OFMutableURL.
 *
 * @return An initialized OFMutableURL
 */
- (instancetype)init;











/*!
 * @brief Converts the mutable URL to an immutable URL.
 */
- (void)makeImmutable;
@end

OF_ASSUME_NONNULL_END







>
>
>
>
>
>
>
>
>
>







80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*!
 * @brief Initializes an already allocated OFMutableURL.
 *
 * @return An initialized OFMutableURL
 */
- (instancetype)init;

/*!
 * @brief Sets the URL's path from the specified path components.
 *
 * The first component must always be empty to designate the root.
 *
 * @param components The path components to set the URL's path from
 */
- (void)setPathComponents:
    (nullable OFArray OF_GENERIC(OFString *) *)components;

/*!
 * @brief Converts the mutable URL to an immutable URL.
 */
- (void)makeImmutable;
@end

OF_ASSUME_NONNULL_END