]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
sdl: Make GetClipRect, PollEvent and WaitEvent parameter to be out
authorSergej Reich <sergej.reich@googlemail.com>
Sun, 18 Sep 2011 02:16:08 +0000 (04:16 +0200)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 13:03:47 +0000 (14:03 +0100)
Fixes bug 659398.

vapi/sdl.vapi

index 7476df968252edbfe7b24cd6a6b2131d02631027..3adf4f24398b7404086e746c12d4c600096c600f 100644 (file)
@@ -154,7 +154,7 @@ namespace SDL {
                public bool set_cliprect(Rect? rect);
 
                [CCode (cname="SDL_GetClipRect")]
-               public void get_cliprect(Rect rect);
+               public void get_cliprect(out Rect rect);
 
                [CCode (cname="SDL_ConvertSurface")]
                public Surface? convert(PixelFormat? fmt, uint32 flags);
@@ -535,10 +535,10 @@ namespace SDL {
                        EventAction action, EventMask mask);
 
                [CCode (cname="SDL_PollEvent")]
-               public static int poll(Event ev);
+               public static int poll(out Event ev);
 
                [CCode (cname="SDL_WaitEvent")]
-               public static int wait(Event ev);
+               public static int wait(out Event ev);
 
                [CCode (cname="SDL_PushEvent")]
                public static int push(Event ev);