Permalink
Browse files

linked_verion is _const_ SDL_verion *

  • Loading branch information...
1 parent 844ad0f commit 67bdd320c274a2cdc2ef80a2d5f146bb537b16f6 Tobias Leich committed Dec 1, 2009
Showing with 2 additions and 15 deletions.
  1. +1 −15 src/Image.xs
  2. +1 −0 typemap
View
@@ -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
@@ -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

0 comments on commit 67bdd32

Please sign in to comment.