[vala] sdl: Make GetClipRect, PollEvent and WaitEvent parameter to be out
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] sdl: Make GetClipRect, PollEvent and WaitEvent parameter to be out
- Date: Mon, 19 Sep 2011 19:09:29 +0000 (UTC)
commit 1a311070fb505860e8f60b99df08a9d4aa37910b
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]