[Scummvm-cvs-logs] CVS: scummvm/backends/PalmOS/Src palm.cpp,1.8,1.9 palm.h,1.6,1.7
Max Horn
fingolfin at users.sourceforge.net
Thu May 29 14:46:14 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/PalmOS/Src
In directory sc8-pr-cvs1:/tmp/cvs-serv4964/backends/PalmOS/Src
Modified Files:
palm.cpp palm.h
Log Message:
added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
Index: palm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/PalmOS/Src/palm.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- palm.cpp 28 May 2003 18:42:15 -0000 1.8
+++ palm.cpp 29 May 2003 21:45:20 -0000 1.9
@@ -515,12 +515,10 @@
SysTaskDelay((SysTicksPerSecond()*msecs)/1000);
}
-void *OSystem_PALMOS::create_thread(ThreadProc *proc, void *param) {
+void OSystem_PALMOS::create_thread(ThreadProc *proc, void *param) {
_thread.active = true;
_thread.proc = proc;
_thread.param = param;
-
- return 0;
}
void OSystem_PALMOS::set_timer(int timer, int (*callback)(int))
@@ -536,7 +534,7 @@
}
/* Mutex handling */
-void *OSystem_PALMOS::create_mutex(void)
+void *OSystem_PALMOS::create_mutex()
{
return NULL;
}
Index: palm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/PalmOS/Src/palm.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- palm.h 28 May 2003 18:42:15 -0000 1.6
+++ palm.h 29 May 2003 21:45:21 -0000 1.7
@@ -77,7 +77,7 @@
void delay_msecs(uint msecs);
// Create a thread
- void *create_thread(ThreadProc *proc, void *param);
+ void create_thread(ThreadProc *proc, void *param);
// Get the next event.
// Returns true if an event was retrieved.
@@ -105,7 +105,7 @@
void set_timer(int timer, int (*callback)(int));
// Mutex handling
- void *create_mutex(void);
+ void *create_mutex();
void lock_mutex(void *mutex);
void unlock_mutex(void *mutex);
void delete_mutex(void *mutex);
@@ -140,7 +140,7 @@
bool _overlay_visible;
private:
- typedef void (OSystem_PALMOS::*RendererProc)(void);
+ typedef void (OSystem_PALMOS::*RendererProc)();
RendererProc _renderer_proc;
UInt8 *_sndDataP, *_sndTempP;
More information about the Scummvm-git-logs
mailing list