Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-03-31 21:55:06
Size: 863
Editor: SheenaSmith
Comment: create page - 3/29 e427bb6266a4
Revision 2 as of 2011-04-18 18:20:18
Size: 1262
Editor: SheenaSmith
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.


CategoryStruct, CategoryAssertions

None: SDL_assert_data (last edited 2013-07-30 03:34:27 by RyanGordon)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit