rem: return NativeSetSemaphore ((NativeSemaphore) sem);
add: int i;  i = NativeSetSemaphore ((NativeSemaphore) sem); #ifdef DEBUG_TRACK_SEM if (i != 0) fprintf(stderr, "WARNING: SetSemaphore did not return 0, this could be bad!\n"); for (i = 0; SemList[i] != NULL; i++) if (*SemList[i] == sem) { semthread[i] = SDL_ThreadID (); break; } #endif return i;
context: SetSemaphore (Semaphore sem){	return NativeSetSemaphore ((NativeSemaphore) sem);}