aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/osx.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-02 19:24:43 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-02 19:24:43 +0100
commita11f7da53638ee4fe282c7b5725294ca1780f9bf (patch)
tree9259f98c7a7cceef766d332311f77eb9278a2eeb /src/gos/osx.c
parentfababafc9a4fce83c4a6879624a8caa38ea9f438 (diff)
downloaduGFX-a11f7da53638ee4fe282c7b5725294ca1780f9bf.tar.gz
uGFX-a11f7da53638ee4fe282c7b5725294ca1780f9bf.tar.bz2
uGFX-a11f7da53638ee4fe282c7b5725294ca1780f9bf.zip
added deinit() routines for all modules (not implemented so far)
Diffstat (limited to 'src/gos/osx.c')
-rw-r--r--src/gos/osx.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gos/osx.c b/src/gos/osx.c
index a5560b4e..249147d1 100644
--- a/src/gos/osx.c
+++ b/src/gos/osx.c
@@ -37,10 +37,16 @@ void get_ticks(mach_timespec_t *mts){
}
-void _gosInit(void) {
+void _gosInit(void)
+{
gfxMutexInit(&SystemMutex);
}
+void _gosDeinit(void)
+{
+ /* ToDo */
+}
+
void gfxSystemLock(void) {
gfxMutexEnter(&SystemMutex);
}