[vala] sdl: Fix SDL_WM_GetCaption and FPSmanager binding



commit 64ea3d56eea7436f2ae2d39bfd246ec9397b97c9
Author: Levi Bard <taktaktaktaktaktaktaktaktaktak gmail com>
Date:   Thu Sep 17 21:25:55 2009 +0200

    sdl: Fix SDL_WM_GetCaption and FPSmanager binding

 vapi/sdl-gfx.vapi |    3 +--
 vapi/sdl.vapi     |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/vapi/sdl-gfx.vapi b/vapi/sdl-gfx.vapi
index ad1de05..90f2f77 100644
--- a/vapi/sdl-gfx.vapi
+++ b/vapi/sdl-gfx.vapi
@@ -259,8 +259,7 @@ namespace SDLGraphics {
 	}// RotoZoom
 
 	[CCode (cheader_filename="SDL_framerate.h", cname="FPSmanager", free_function="g_free")]
-	[Compact]
-	public class FramerateManager {
+       public struct FramerateManager {
 		[CCode (cname="SDL_initFramerate")]
 		public void init();
 
diff --git a/vapi/sdl.vapi b/vapi/sdl.vapi
index 637eebc..acb8ecc 100644
--- a/vapi/sdl.vapi
+++ b/vapi/sdl.vapi
@@ -357,7 +357,7 @@ namespace SDL {
 		public static void set_caption(string title, string icon);
 
 		[CCode (cname="SDL_WM_GetCaption")]
-		public static void get_caption(ref string title, ref string icon);
+               public static void get_caption(out string title, out string icon);
 
 		[CCode (cname="SDL_WM_SetIcon")]
 		public static void set_icon(Surface icon, uchar* mask);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]