Function SDL_ReportAssertion

pub unsafe extern "C" fn SDL_ReportAssertion(
    data: *mut SDL_AssertData,
    func: *const i8,
    file: *const i8,
    line: i32,
) -> SDL_AssertState
Available on crate feature dep_sdl3 only.
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.