[vala/0.14] sdl: Make GetClipRect, PollEvent and WaitEvent parameter to be out



commit 2458ff48b0e598eda9c60d21503f7dc129dcfa7e
Author: Sergej Reich <sergej reich googlemail com>
Date:   Sun Sep 18 04:16:08 2011 +0200

    sdl: Make GetClipRect, PollEvent and WaitEvent parameter to be out
    
    Fixes bug 659398.

 vapi/sdl.vapi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/sdl.vapi b/vapi/sdl.vapi
index 7476df9..3adf4f2 100644
--- a/vapi/sdl.vapi
+++ b/vapi/sdl.vapi
@@ -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);



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