pygame2.sdl.base C API
The :mod:`pygame2.sdl.base` C API contains fundamental core functions used throughout nearly all :mod:`pygame2.sdl` related modules. As such, it should be considered to be imported in the first place in all C extensions that require parts of :mod:`pygame2.sdl`.
The following macros are used in places within the :mod:`pygame2.sdl` and related modules. They are used to check whether certain parts of the SDL subsystems are properly set and initialised.