Function SDL_GetDaysInMonth
pub unsafe extern "C" fn SDL_GetDaysInMonth(
year: i32,
month: i32,
) -> i32
Available on crate feature
dep_sdl3
only.Expand description
Get the number of days in a month for a given year.
§Parameters
year
: the year.month
: the month [1-12].
§Return value
Returns the number of days in the requested month or -1 on failure; call
SDL_GetError()
for more information.
§Availability
This function is available since SDL 3.2.0.