Mercurial > sdl-ios-xcode
comparison test/loopwave.c @ 1769:290b5baf2fca
Fixed bug #215
The current SVN trunk is missing the SDLCALL specifier at numerous locations.
It has to be added for all (possibly user provided) callbacks.
I stumbled over this while creating a makefile for the OpenWatcom compiler for
Win32.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 07 May 2006 03:40:06 +0000 |
parents | 0394f8ebc42d |
children | 8b9d79e7eacf c121d94672cb e905bb5d9bc3 |
comparison
equal
deleted
inserted
replaced
1768:814f9f2c7a33 | 1769:290b5baf2fca |
---|---|
30 SDL_Quit(); | 30 SDL_Quit(); |
31 exit(rc); | 31 exit(rc); |
32 } | 32 } |
33 | 33 |
34 | 34 |
35 void fillerup(void *unused, Uint8 *stream, int len) | 35 void SDLCALL fillerup(void *unused, Uint8 *stream, int len) |
36 { | 36 { |
37 Uint8 *waveptr; | 37 Uint8 *waveptr; |
38 int waveleft; | 38 int waveleft; |
39 | 39 |
40 /* Set up the pointers */ | 40 /* Set up the pointers */ |