From 5f1c7868b7a2e091c0c88ad1dee40ccd2f76098c Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Fri, 23 May 2008 12:59:40 +0000 Subject: [PATCH] fix syntax errors 2008-05-23 Juerg Billeter * vapi/sdl.vapi: fix syntax errors svn path=/trunk/; revision=1410 --- ChangeLog | 4 ++++ vapi/sdl.vapi | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a0c875..4939645 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-05-23 Jürg Billeter + * vapi/sdl.vapi: fix syntax errors + +2008-05-23 Jürg Billeter + * THANKS: thank contributors 2008-05-23 Jürg Billeter diff --git a/vapi/sdl.vapi b/vapi/sdl.vapi index 3dabdd0..9f56fe4 100644 --- a/vapi/sdl.vapi +++ b/vapi/sdl.vapi @@ -199,10 +199,10 @@ namespace SDL { public uint32 map_rgba(uchar r, uchar g, uchar b, uchar a); [CCode (cname="SDL_GetRGB")] - public static void get_rgb(uint32 pixel, weak PixelFormat fmt, ref uchar r, ref uchar g, ref uchar b); + public static void get_rgb(uint32 pixel, PixelFormat fmt, ref uchar r, ref uchar g, ref uchar b); [CCode (cname="SDL_GetRGBA")] - public static void get_rgba(uint32 pixel, weak PixelFormat fmt, ref uchar r, ref uchar g, ref uchar b, ref uchar a); + public static void get_rgba(uint32 pixel, PixelFormat fmt, ref uchar r, ref uchar g, ref uchar b, ref uchar a); }// PixelFormat [CCode (cname="SDL_Rect")] @@ -518,7 +518,7 @@ namespace SDL { public static void pump(); [CCode (cname="SDL_PeepEvents")] - public static void peep(weak Event* events, int numevents, + public static void peep(Event* events, int numevents, EventAction action, EventMask mask); [CCode (cname="SDL_PollEvent")] -- 2.7.4