2024-09-28 00:46:33 +00:00
|
|
|
(module (sdl3 features)
|
|
|
|
()
|
2024-09-22 21:46:26 +00:00
|
|
|
(import (scheme)
|
2024-09-28 00:46:33 +00:00
|
|
|
(chicken base)
|
|
|
|
(chicken foreign)
|
|
|
|
(chicken platform))
|
2024-09-22 21:46:26 +00:00
|
|
|
(begin
|
|
|
|
(foreign-declare "#include <SDL3/SDL_version.h>")
|
|
|
|
(register-feature! 'sdl3)
|
|
|
|
|
|
|
|
(when (foreign-value "SDL_VERSION_ATLEAST(3,0,0)" bool)
|
|
|
|
(register-feature! 'sdl3-3.0.0+))))
|