|
Size: 1262
Comment: update content (in progress)
|
Size: 1170
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 4: | Line 4: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 7: | Line 6: |
| A structure that contains assertion information. | A structure that contains information about an assertion. |
| Line 15: | Line 14: |
| ||const char*||'''filename'''||the filename containing the assertion|| | ||const char*||'''filename'''||the file containing the assertion|| |
| Line 26: | Line 25: |
| ''You can add useful comments here'' |
SDL_assert_data
A structure that contains information about an assertion.
Data Fields
int |
always_ignore |
1 if set, 0 otherwise |
unsigned int |
trigger_count |
number of times this assertion was triggered |
const char* |
condition |
the assertion condition to check |
const char* |
filename |
the file containing the assertion |
int |
linenum |
the location of the assertion in the file |
const char* |
function |
the function containing the assertion |
const struct SDL_assert_data* |
next |
(internal use) |
Code Examples
You can add your code example here
Remarks
This structure is filled in with information about the assertion and is used by the assertion handler then added to the assertion report.
