@@ -89,7 +89,7 @@ extern "C" {
89
89
* - 3: Paranoid settings: All SDL assertion macros enabled, including
90
90
* SDL_assert_paranoid.
91
91
*
92
- * \since This macro is available since SDL 3.1.3 .
92
+ * \since This macro is available since SDL 3.2.0 .
93
93
*/
94
94
#define SDL_ASSERT_LEVEL SomeNumberBasedOnVariousFactors
95
95
@@ -122,7 +122,7 @@ extern "C" {
122
122
*
123
123
* \threadsafety It is safe to call this macro from any thread.
124
124
*
125
- * \since This macro is available since SDL 3.1.3 .
125
+ * \since This macro is available since SDL 3.2.0 .
126
126
*/
127
127
#define SDL_TriggerBreakpoint () TriggerABreakpointInAPlatformSpecificManner
128
128
@@ -165,7 +165,7 @@ extern "C" {
165
165
*
166
166
* If SDL can't figure how the compiler reports this, it will use "???".
167
167
*
168
- * \since This macro is available since SDL 3.1.3 .
168
+ * \since This macro is available since SDL 3.2.0 .
169
169
*/
170
170
#define SDL_FUNCTION __FUNCTION__
171
171
@@ -180,14 +180,14 @@ extern "C" {
180
180
/**
181
181
* A macro that reports the current file being compiled.
182
182
*
183
- * \since This macro is available since SDL 3.1.3 .
183
+ * \since This macro is available since SDL 3.2.0 .
184
184
*/
185
185
#define SDL_FILE __FILE__
186
186
187
187
/**
188
188
* A macro that reports the current line number of the file being compiled.
189
189
*
190
- * \since This macro is available since SDL 3.1.3 .
190
+ * \since This macro is available since SDL 3.2.0 .
191
191
*/
192
192
#define SDL_LINE __LINE__
193
193
@@ -224,7 +224,7 @@ disable assertions.
224
224
* do { SomethingOnce(); } while (SDL_NULL_WHILE_LOOP_CONDITION (0));
225
225
* ```
226
226
*
227
- * \since This macro is available since SDL 3.1.3 .
227
+ * \since This macro is available since SDL 3.2.0 .
228
228
*/
229
229
#define SDL_NULL_WHILE_LOOP_CONDITION (0)
230
230
@@ -248,7 +248,7 @@ disable assertions.
248
248
*
249
249
* \param condition the condition to assert (but not actually run here).
250
250
*
251
- * \since This macro is available since SDL 3.1.3 .
251
+ * \since This macro is available since SDL 3.2.0 .
252
252
*/
253
253
#define SDL_disabled_assert (condition ) \
254
254
do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
@@ -264,7 +264,7 @@ disable assertions.
264
264
* condition, try to break in a debugger, kill the program, or ignore the
265
265
* problem).
266
266
*
267
- * \since This enum is available since SDL 3.1.3 .
267
+ * \since This enum is available since SDL 3.2.0 .
268
268
*/
269
269
typedef enum SDL_AssertState
270
270
{
@@ -282,7 +282,7 @@ typedef enum SDL_AssertState
282
282
* used by the assertion handler, then added to the assertion report. This is
283
283
* returned as a linked list from SDL_GetAssertionReport().
284
284
*
285
- * \since This struct is available since SDL 3.1.3 .
285
+ * \since This struct is available since SDL 3.2.0 .
286
286
*/
287
287
typedef struct SDL_AssertData
288
288
{
@@ -308,7 +308,7 @@ typedef struct SDL_AssertData
308
308
*
309
309
* \threadsafety It is safe to call this function from any thread.
310
310
*
311
- * \since This function is available since SDL 3.1.3 .
311
+ * \since This function is available since SDL 3.2.0 .
312
312
*/
313
313
extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion (SDL_AssertData * data ,
314
314
const char * func ,
@@ -323,7 +323,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
323
323
* This isn't for direct use by apps; use SDL_assert or SDL_TriggerBreakpoint
324
324
* instead.
325
325
*
326
- * \since This macro is available since SDL 3.1.3 .
326
+ * \since This macro is available since SDL 3.2.0 .
327
327
*/
328
328
#define SDL_AssertBreakpoint () SDL_TriggerBreakpoint()
329
329
@@ -355,7 +355,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
355
355
*
356
356
* \param condition the condition to assert.
357
357
*
358
- * \since This macro is available since SDL 3.1.3 .
358
+ * \since This macro is available since SDL 3.2.0 .
359
359
*/
360
360
#define SDL_enabled_assert (condition ) \
361
361
do { \
@@ -401,7 +401,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
401
401
*
402
402
* \threadsafety It is safe to call this macro from any thread.
403
403
*
404
- * \since This macro is available since SDL 3.1.3 .
404
+ * \since This macro is available since SDL 3.2.0 .
405
405
*/
406
406
#define SDL_assert (condition ) if (assertion_enabled && (condition)) { trigger_assertion; }
407
407
@@ -434,7 +434,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
434
434
*
435
435
* \threadsafety It is safe to call this macro from any thread.
436
436
*
437
- * \since This macro is available since SDL 3.1.3 .
437
+ * \since This macro is available since SDL 3.2.0 .
438
438
*/
439
439
#define SDL_assert_release (condition ) SDL_disabled_assert(condition)
440
440
@@ -463,7 +463,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
463
463
*
464
464
* \threadsafety It is safe to call this macro from any thread.
465
465
*
466
- * \since This macro is available since SDL 3.1.3 .
466
+ * \since This macro is available since SDL 3.2.0 .
467
467
*/
468
468
#define SDL_assert_paranoid (condition ) SDL_disabled_assert(condition)
469
469
@@ -507,7 +507,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
507
507
*
508
508
* \threadsafety It is safe to call this macro from any thread.
509
509
*
510
- * \since This macro is available since SDL 3.1.3 .
510
+ * \since This macro is available since SDL 3.2.0 .
511
511
*/
512
512
#define SDL_assert_always (condition ) SDL_enabled_assert(condition)
513
513
@@ -523,7 +523,7 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
523
523
* \threadsafety This callback may be called from any thread that triggers an
524
524
* assert at any time.
525
525
*
526
- * \since This datatype is available since SDL 3.1.3 .
526
+ * \since This datatype is available since SDL 3.2.0 .
527
527
*/
528
528
typedef SDL_AssertState (SDLCALL * SDL_AssertionHandler )(
529
529
const SDL_AssertData * data , void * userdata );
@@ -547,7 +547,7 @@ typedef SDL_AssertState (SDLCALL *SDL_AssertionHandler)(
547
547
*
548
548
* \threadsafety It is safe to call this function from any thread.
549
549
*
550
- * \since This function is available since SDL 3.1.3 .
550
+ * \since This function is available since SDL 3.2.0 .
551
551
*
552
552
* \sa SDL_GetAssertionHandler
553
553
*/
@@ -568,7 +568,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetAssertionHandler(
568
568
*
569
569
* \threadsafety It is safe to call this function from any thread.
570
570
*
571
- * \since This function is available since SDL 3.1.3 .
571
+ * \since This function is available since SDL 3.2.0 .
572
572
*
573
573
* \sa SDL_GetAssertionHandler
574
574
*/
@@ -593,7 +593,7 @@ extern SDL_DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetDefaultAssertionHandler(
593
593
*
594
594
* \threadsafety It is safe to call this function from any thread.
595
595
*
596
- * \since This function is available since SDL 3.1.3 .
596
+ * \since This function is available since SDL 3.2.0 .
597
597
*
598
598
* \sa SDL_SetAssertionHandler
599
599
*/
@@ -627,7 +627,7 @@ extern SDL_DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetAssertionHandler(void **
627
627
* SDL_ResetAssertionReport() simultaneously, may render the
628
628
* returned pointer invalid.
629
629
*
630
- * \since This function is available since SDL 3.1.3 .
630
+ * \since This function is available since SDL 3.2.0 .
631
631
*
632
632
* \sa SDL_ResetAssertionReport
633
633
*/
@@ -645,7 +645,7 @@ extern SDL_DECLSPEC const SDL_AssertData * SDLCALL SDL_GetAssertionReport(void);
645
645
* assertion, or simultaneously calling this function may cause
646
646
* memory leaks or crashes.
647
647
*
648
- * \since This function is available since SDL 3.1.3 .
648
+ * \since This function is available since SDL 3.2.0 .
649
649
*
650
650
* \sa SDL_GetAssertionReport
651
651
*/
0 commit comments