summaryrefslogtreecommitdiff
path: root/vapi/sdl-mixer.vapi
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-14 20:35:59 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-14 20:35:59 +0000
commit1ae7df7ecb21f6897e11baa85ba93d1a4d123420 (patch)
tree0097552834f3cf5271bf8d9f2e8a175e8eedd94f /vapi/sdl-mixer.vapi
parentd15f6abcfe06aaba8a9b215a7667962b8d09004b (diff)
downloadvala-1ae7df7ecb21f6897e11baa85ba93d1a4d123420.tar.gz
update for use with non-null types, patch by Levi Bard, fixes bug 528097
2008-04-14 Juerg Billeter <j@bitron.ch> * vapi/sdl-mixer.vapi, vapi/sdl-ttf.vapi, vapi/sdl.vapi: update for use with non-null types, patch by Levi Bard, fixes bug 528097 svn path=/trunk/; revision=1232
Diffstat (limited to 'vapi/sdl-mixer.vapi')
-rw-r--r--vapi/sdl-mixer.vapi8
1 files changed, 4 insertions, 4 deletions
diff --git a/vapi/sdl-mixer.vapi b/vapi/sdl-mixer.vapi
index 0f17bcc09..a966b0b3b 100644
--- a/vapi/sdl-mixer.vapi
+++ b/vapi/sdl-mixer.vapi
@@ -62,7 +62,7 @@ namespace SDLMixer {
public static pointer get_hook_data();
[CCode (cname="Mix_HookMusic")]
- public static void hook_mixer(MixFunction f, pointer arg);
+ public static void hook_mixer(MixFunction? f, pointer arg);
[CCode (cname="Mix_HookMusicFinished")]
public static void hook_finished(MusicFinishedCallback cb);
@@ -119,7 +119,7 @@ namespace SDLMixer {
public class Effect {
[CCode (cname="Mix_RegisterEffect")]
public static int register(int chan, EffectCallback f,
- EffectDoneCallback d, pointer arg);
+ EffectDoneCallback? d, pointer arg);
[CCode (cname="Mix_UnregisterEffect")]
public static int unregister(int chan, EffectCallback f);
@@ -138,7 +138,7 @@ namespace SDLMixer {
public static int reserve(int num_channels);
[CCode (cname="Mix_ChannelFinished")]
- public static void hook_finished(ChannelFinishedCallback cb);
+ public static void hook_finished(ChannelFinishedCallback? cb);
[CCode (cname="Mix_SetPanning")]
public int pan(uchar left, uchar right);
@@ -186,7 +186,7 @@ namespace SDLMixer {
public int is_playing();
[CCode (cname="Mix_GetChunk")]
- public Chunk get_chunk();
+ public Chunk? get_chunk();
}// Channel
[CCode (cname="int")]