comparison test/testerror.c @ 1659:14717b52abc0 SDL-1.3

Merge trunk-1.3-3
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 08:18:28 +0000
parents be9c9c8f6d53
children 782fd950bd46 c121d94672cb
comparison
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
15 { 15 {
16 SDL_Quit(); 16 SDL_Quit();
17 exit(rc); 17 exit(rc);
18 } 18 }
19 19
20 int ThreadFunc(void *data) 20 int SDLCALL ThreadFunc(void *data)
21 { 21 {
22 /* Set the child thread error string */ 22 /* Set the child thread error string */
23 SDL_SetError("Thread %s (%d) had a problem: %s", 23 SDL_SetError("Thread %s (%d) had a problem: %s",
24 (char *)data, SDL_ThreadID(), "nevermind"); 24 (char *)data, SDL_ThreadID(), "nevermind");
25 while ( alive ) { 25 while ( alive ) {