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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401728
This commit is contained in:
parent
cab8a203a7
commit
b4ba6518d6
19 changed files with 85 additions and 63 deletions
|
@ -12,13 +12,13 @@
|
|||
|
||||
static int ticks = 0;
|
||||
|
||||
static Uint32 ticktock(Uint32 interval)
|
||||
static Uint32 SDLCALL ticktock(Uint32 interval)
|
||||
{
|
||||
++ticks;
|
||||
return(interval);
|
||||
}
|
||||
|
||||
static Uint32 callback(Uint32 interval, void *param)
|
||||
static Uint32 SDLCALL callback(Uint32 interval, void *param)
|
||||
{
|
||||
printf("Timer %d : param = %d\n", interval, (int)(uintptr_t)param);
|
||||
return interval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue