Returns a list of three nonnegative integers, indicating a version number of SDL. For example, the list (2 0 3) indicates SDL 2.0.3.
- compiled-version returns the version of SDL that the sdl2 egg was compiled with.
- current-version returns the version of SDL that the sdl2 egg is currently using.
For example, the user may have compiled the sdl2 egg with SDL 2.0.3, then later upgraded SDL to 2.1.0, but not yet recompiled the sdl2 egg with the new version. In such a case, compiled-version would return (2 0 3), and current-version would return (2 1 0). But, features from the new version would not be available until the user recompiles the sdl2 egg.