Re: [hatari-devel] Switching from SDL_types.h to inttypes.h ?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 28/09/2022 à 20:00, Troed Sångberg a écrit :

I would be in favor of keeping them in those cases. When SDL gets switched out in the future (or in a fork) you'd want to make sure you revisit all affected code.

I would keep them too, who knows if later some compiler might not complain if type is uint8_t instead of Uint8 for example in some SDL functions prototypes. And it makes the code more explicit about the fact that it's related to SDL in some ways.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/