|
⇤ ← Revision 1 as of 2011-03-31 21:55:06
Size: 863
Comment: create page - 3/29 e427bb6266a4
|
Size: 1262
Comment: update content (in progress)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 7: | Line 7: |
| A structure that contains ^assertion criteria^???. | A structure that contains assertion information. |
| Line 12: | Line 12: |
| ||int||'''always_ignore'''||description|| ||unsigned int||'''trigger_count'''||description|| ||const char*||'''condition'''||description|| ||const char*||'''filename'''||description|| ||int||'''linenum'''||description|| ||const char*||'''function'''||description|| ||const struct [[SDL_assert_data]]*||'''next'''||description|| |
||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 filename containing the assertion|| ||int||'''linenum'''||the location of the assertion in the file|| ||const char*||'''function'''||the function containing the assertion|| ||<style="color: #808080;">const struct [[SDL_assert_data]]*||<style="color: #808080;">'''next'''||<style="color: #808080;">(internal use)|| |
| Line 28: | Line 28: |
| This structure is filled in with information about the assertion and is used by the assertion handler then added to the assertion report. |
|
| Line 29: | Line 31: |
| .[[SDL_GetAssertionReport]] ??? .[[SDL_ReportAssertion]] ??? |
.[[SDL_assert]] .[[SDL_assert_paranoid]] .[[SDL_assert_release]] .[[SDL_GetAssertionReport]] |
DRAFT |
SDL_assert_data
A structure that contains assertion information.
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 filename 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
You can add useful comments here
This structure is filled in with information about the assertion and is used by the assertion handler then added to the assertion report.
