diff options
author | Max Horn | 2003-07-05 15:17:46 +0000 |
---|---|---|
committer | Max Horn | 2003-07-05 15:17:46 +0000 |
commit | 4611b12c0a84ec528f9f020dc85bf4e9a0108c82 (patch) | |
tree | 8a7f87ffbad997a6873a1a6e75d0d49746e9d69e /backends/wince/wince.cpp | |
parent | 39abb7cf0a36f348c2755197e18ae2d9edc59eda (diff) | |
download | scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.tar.gz scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.tar.bz2 scummvm-rg350-4611b12c0a84ec528f9f020dc85bf4e9a0108c82.zip |
updated backends to use type MutexRef
svn-id: r8776
Diffstat (limited to 'backends/wince/wince.cpp')
-rw-r--r-- | backends/wince/wince.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/wince/wince.cpp b/backends/wince/wince.cpp index de34d533ed..eb4c1eff6e 100644 --- a/backends/wince/wince.cpp +++ b/backends/wince/wince.cpp @@ -1744,18 +1744,18 @@ void OSystem_WINCE3::update_cdrom() {;} //void ScummDebugger::attach(Scumm *s) {;} /* Mutex stuff */ -void* OSystem_WINCE3::create_mutex() { - return (void*)CreateMutex(NULL, FALSE, NULL); +MutexRefOSystem_WINCE3::create_mutex() { + return (MutexRef)CreateMutex(NULL, FALSE, NULL); } -void OSystem_WINCE3::lock_mutex(void *handle) { +void OSystem_WINCE3::lock_mutex(MutexRefhandle) { WaitForSingleObject((HANDLE)handle, INFINITE); } -void OSystem_WINCE3::unlock_mutex(void *handle) { +void OSystem_WINCE3::unlock_mutex(MutexRefhandle) { ReleaseMutex((HANDLE)handle); } -void OSystem_WINCE3::delete_mutex(void *handle) { +void OSystem_WINCE3::delete_mutex(MutexRefhandle) { CloseHandle((HANDLE)handle); } |