SDL
SDL copied to clipboard
SDL_PowerInfo() should take a pointer to SDL_DateTime
Now that ABI has been frozen, this won't get solved (unless another function gets added). But posting this here for the next decade when SDL 4 gets worked on :)
Until then, SDL_TimeToDateTime() can be used, though it does require with some finagling due to being from the UNIX epoch instead of present.