Function SDL_GetNumAllocations

pub unsafe extern "C" fn SDL_GetNumAllocations() -> i32
Available on crate feature dep_sdl3 only.
Expand description

Get the number of outstanding (unfreed) allocations.

§Return value

Returns the number of allocations or -1 if allocation counting is disabled.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.