pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
939 stars 155 forks source link

SDL3 support for pygame.system #3146

Closed Starbuck5 closed 1 month ago

Starbuck5 commented 1 month ago

A little bit more gnarly than I would like, but the code comment explains my approach here.

Starbuck5 commented 1 month ago

SDL2: array of SDL_locales SDL3: array of pointers to SDL_locales

Is a pointer to an array of SDL_locales the same thing as an array of pointers to SDL_locales ?

This is what I was sidestepping worrying about with my implementation but would need to think about for your code suggestion.

ankith26 commented 1 month ago

okay NVM my suggestion, they are probably not the same