The union of all files from all check-ins in directory sdl2 [history]
- #base-types.ss#
- #net-types.ss#
- #ttf-function.ss#
- #ttf-shim.h#
- ttf-shim
- README
- assert-functions.ss
- assert-types.ss
- atomic-functions.ss
- atomic-types.ss
- audio-functions.ss
- audio-types.ss
- base-types.ss
- blendmode-types.ss
- clipboard-functions.ss
- cpuinfo-functions.ss
- endian-functions.ss
- error-functions.ss
- error-types.ss
- events-functions.ss
- events-types.ss
- extras.ss
- ffi.ss
- filesystem-functions.ss
- gamecontroller-functions.ss
- gamecontroller-types.ss
- gesture-functions.ss
- gesture-types.ss
- guardian.ss
- hints-functions.ss
- hints-types.ss
- image-functions.ss
- image-types.ss
- image-types.ss~
- image.sls
- image.sls~
- init.ss
- joystick-functions.ss
- joystick-types.ss
- keyboard-functions.ss
- keyboard-types.ss
- keycode-types.ss
- loadso-functions.ss
- log-functions.ss
- main-functions.ss
- messagebox-functions.ss
- messagebox-types.ss
- mix-functions.ss
- mix-types.ss
- mixer.sls
- mouse-functions.ss
- mouse-types.ss
- mutex-functions.ss
- mutex-types.ss
- net-functions.ss
- net-types.ss
- net.sls
- parse-sdl-json.ss
- pixels-functions.ss
- pixels-types.ss
- platform-functions.ss
- power-functions.ss
- rect-functions.ss
- rect-types.ss
- render-functions.ss
- render-types.ss
- romeladen.bmp
- rwops-functions.ss
- rwops-types.ss
- scancode-types.ss
- sdl-functions.ss
- sdl2-image.json
- sdl2-image.sexp
- sdl2-mixer.json
- sdl2-mixer.sexp
- sdl2-net.json
- sdl2-net.sexp
- sdl2-ttf-real.sexp
- sdl2-ttf.json
- sdl2.json
- sdl2.sexp
- surface-functions.ss
- surface-types.ss
- system-functions.ss
- thread-functions.ss
- thread-types.ss
- timer-functions.ss
- timer-types.ss
- touch-functions.ss
- touch-types.ss
- ttf-function.ss~
- ttf-functions.ss
- ttf-functions.ss~
- ttf-shim-functions.ss
- ttf-shim.c~
- ttf-shim.h~
- ttf-shim.json
- ttf-shim.sexp
- ttf-types.ss
- ttf.sls
- ttf.sls~
- version-functions.ss
- version-types.ss
- video-functions.ss
- video-types.ss
SDL Version Binded to: 2.07 Chez Scheme SDL2 bindings These bindings are generated with the help of c2ffi You can find it here: https://github.com/rpav/c2ffi First we use c2ffi to parse the headers and generate the json description: c2ffi /usr/include/SDL2/SDL.h > sdl2.json Optionally SDL2_net (in my case there was not a linux package so I installed from source:) c2ffi /usr/local/include/SDL2/SDL_net.h > sdl2-net.json Then the scheme bindings are generated with the command: scheme --script parse-sdl-json.ss many *-functions.ss will be created also sdl2.sexp will be generated. You can then execute fossil diff --tk (or equivalent) to see the new functions Then you should update sdl2.sls to add the new functions. For new ftypes, enums and flags you'll need to figure out by hand. This thing needs to be done once in a while when new SDL versions add new functionality. Usually you should not care :) For any questions just contact me ovenpasta@pizzahack.eu have fun! Aldo