[Scummvm-cvs-logs] CVS: scummvm/backends/gp32 gp32.cpp,1.7,1.8 gp32.h,1.8,1.9

Max Horn fingolfin at users.sourceforge.net
Sat Jul 5 08:18:13 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/gp32
In directory sc8-pr-cvs1:/tmp/cvs-serv22014/gp32

Modified Files:
	gp32.cpp gp32.h 
Log Message:
updated backends to use type MutexRef

Index: gp32.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gp32.cpp	29 May 2003 22:34:32 -0000	1.7
+++ gp32.cpp	5 Jul 2003 15:17:45 -0000	1.8
@@ -1075,10 +1075,10 @@
 void OSystem_GP32::set_timer(int timer, int (*callback)(int)) { }
 
 // Mutex handling
-void* OSystem_GP32::create_mutex() { }
-void OSystem_GP32::lock_mutex(void *mutex) { }
-void OSystem_GP32::unlock_mutex(void *mutex) { }
-void OSystem_GP32::delete_mutex(void *mutex) { }
+MutexRef OSystem_GP32::create_mutex() { }
+void OSystem_GP32::lock_mutex(MutexRef mutex) { }
+void OSystem_GP32::unlock_mutex(MutexRef mutex) { }
+void OSystem_GP32::delete_mutex(MutexRef mutex) { }
 
 // Quit
 void gphalt(int);

Index: gp32.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- gp32.h	29 May 2003 22:34:33 -0000	1.8
+++ gp32.h	5 Jul 2003 15:17:45 -0000	1.9
@@ -102,10 +102,10 @@
 	void set_timer(int timer, int (*callback)(int));
 
 	// Mutex handling
-	void *create_mutex();
-	void lock_mutex(void *mutex);
-	void unlock_mutex(void *mutex);
-	void delete_mutex(void *mutex);
+	MutexRef create_mutex();
+	void lock_mutex(MutexRef mutex);
+	void unlock_mutex(MutexRef mutex);
+	void delete_mutex(MutexRef mutex);
 
 	// Quit
 	void quit();





More information about the Scummvm-git-logs mailing list