Function SDL_DestroyEnvironment

pub unsafe extern "C" fn SDL_DestroyEnvironment(
    env: *mut SDL_Environment,
)
Available on crate feature dep_sdl3 only.
Expand description

Destroy a set of environment variables.

§Parameters

  • env: the environment to destroy.

§Thread safety

It is safe to call this function from any thread, as long as the environment is no longer in use.

§Availability

This function is available since SDL 3.2.0.

§See also