diff dmmutex.h @ 294:dd9809a93425

Improve mutex debugging facilities.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Oct 2012 16:04:02 +0300
parents 245b15cd1919
children
line wrap: on
line diff
--- a/dmmutex.h	Thu Oct 11 16:01:14 2012 +0300
+++ b/dmmutex.h	Thu Oct 11 16:04:02 2012 +0300
@@ -5,24 +5,29 @@
  * (C) Copyright 2012 Tecnic Software productions (TNSP)
  */
 
-int SDL_mutexP(DMMutex *p)
+Uint32 SDL_ThreadID()
+{
+    return 0;
+}
+
+int SDL_mutexP(SDL_mutex *p)
 {
     (void) p;
     return 0;
 }
 
-int SDL_mutexV(DMMutex *p)
+int SDL_mutexV(SDL_mutex *p)
 {
     (void) p;
     return 0;
 }
 
-DMMutex * SDL_CreateMutex()
+SDL_mutex * SDL_CreateMutex()
 {
     return NULL;
 }
 
-void SDL_DestroyMutex(DMMutex *p)
+void SDL_DestroyMutex(SDL_mutex *p)
 {
     (void) p;
 }