diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-12-16 21:49:11 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-12-16 21:52:36 -0500 |
commit | 2fb7f399f322122f2d5e5f436673fe386242505e (patch) | |
tree | 712fa4458c551c9630afc7c465a4a9bd96bd2ac8 /sdl2/bindings.scm | |
parent | a1fe5d2aa86f3c25fb88313fe4ebd4f53d3f8ed3 (diff) |
surface: Add SDL_CreateRGBSurfaceFrom binding.
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r-- | sdl2/bindings.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index ceabf06..e3167a0 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -903,6 +903,10 @@ RETURN-TYPE and accept arguments of ARG-TYPES." '* "SDL_CreateRGBSurface" (list uint32 int int int uint32 uint32 uint32 uint32)) +(define-foreign sdl-create-rgb-surface-from + '* "SDL_CreateRGBSurfaceFrom" + (list '* int int int int uint32 uint32 uint32 uint32)) + (define-foreign sdl-free-surface void "SDL_FreeSurface" '(*)) |