SDL_ReportAssertion

Function SDL_ReportAssertion 

Source
pub unsafe extern "C" fn SDL_ReportAssertion(
    data: *mut SDL_AssertData,
    func: *const c_char,
    file: *const c_char,
    line: c_int,
) -> SDL_AssertState
Expand description

Never call this directly.

Use the SDL_assert macros instead.

§Parameters

  • data: assert data structure.
  • func: function name.
  • file: file name.
  • line: line number.

§Return value

Returns assert state.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.