Artifact
58a67dafa2cd536f76bdccd4f440f67b14b2ab91:
- File
sdl2/hints-functions.ss
— part of check-in
[e0fdb312bb]
at
2016-12-14 16:32:00
on branch trunk
— upgraded SDL2.0 API to 2.0.5, added README for SDL2 ffi
(user:
aldo
size: 734)
(define-sdl-func sdl-bool-t sdl-set-hint-with-priority ((name string) (value string) (priority sdl-hint-priority-t)) "SDL_SetHintWithPriority")
(define-sdl-func sdl-bool-t sdl-set-hint ((name string) (value string)) "SDL_SetHint")
(define-sdl-func string sdl-get-hint ((name string)) "SDL_GetHint")
(define-sdl-func sdl-bool-t sdl-get-hint-boolean ((name string) (default_value sdl-bool-t)) "SDL_GetHintBoolean")
(define-sdl-func void sdl-add-hint-callback ((name string) (callback sdl-hint-callback-t) (userdata void*)) "SDL_AddHintCallback")
(define-sdl-func void sdl-del-hint-callback ((name string) (callback sdl-hint-callback-t) (userdata void*)) "SDL_DelHintCallback")
(define-sdl-func void sdl-clear-hints () "SDL_ClearHints")