Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

linked_verion is _const_ SDL_verion *

  • Loading branch information...
commit 67bdd320c274a2cdc2ef80a2d5f146bb537b16f6 1 parent 844ad0f
Tobias Leich authored
Showing with 2 additions and 15 deletions.
  1. +1 −15 src/Image.xs
  2. +1 −0  typemap
View
16 src/Image.xs
@@ -17,7 +17,7 @@ MODULE = SDL::Image PACKAGE = SDL::Image PREFIX = image_
#ifdef HAVE_SDL_IMAGE
-SDL_version*
+const SDL_version*
image_linked_version()
PREINIT:
char* CLASS = "SDL::Version";
@@ -26,20 +26,6 @@ image_linked_version()
OUTPUT:
RETVAL
-int
-image_init(flags)
- int flags
- CODE:
- RETVAL = IMG_Init(flags);
- OUTPUT:
- RETVAL
-
-void
-image_quit()
- CODE:
- IMG_Quit();
-
-
SDL_Surface *
image_load ( filename )
char *filename
View
1  typemap
@@ -44,6 +44,7 @@ SDL_Palette * O_OBJECT
SDL_PixelFormat * O_OBJECT
SDL_VideoInfo * O_OBJECT
SDL_version * O_OBJECT
+const SDL_version * O_OBJECT
SDL_SysWMInfo * O_OBJECT
SDL_Cursor * O_OBJECT
SDL_AudioSpec * O_OBJECT
Please sign in to comment.
Something went wrong with that request. Please try again.