ObjFW  Diff

Differences From Artifact [ce851e8072]:

  • File src/OFApplication.h — part of check-in [716b1fc2b3] at 2014-07-19 09:55:06 on branch trunk — Don't use C11's noreturn

    It causes just too much trouble: It breaks with some old versions of
    Clang, where noreturn does not work correctly, and OS X headers break if
    noreturn is defined, requiring an ugly and fragile workaround. It's just
    not worth the trouble it causes, as the same functionality is available
    through __attribute__((__noreturn__)). (user: js, size: 6486) [annotate] [blame] [check-ins using]

To Artifact [293fafa26f]:


158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
 * @brief Returns the environment of the application.
 *
 * @return The environment of the application
 */
+ (OFDictionary*)environment;

/*!
 * @brief Terminates the application.
 */
+ (void)terminate OF_NO_RETURN;

/*!
 * @brief Terminates the application with the specified status.
 *
 * @param status The status with which the application will terminate







|







158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
 * @brief Returns the environment of the application.
 *
 * @return The environment of the application
 */
+ (OFDictionary*)environment;

/*!
 * @brief Terminates the application with the EXIT_SUCCESS status.
 */
+ (void)terminate OF_NO_RETURN;

/*!
 * @brief Terminates the application with the specified status.
 *
 * @param status The status with which the application will terminate