diff src/cdrom/macosx/SDLOSXCAGuard.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents dc6b59e925a2
children 99210400e8b9
line wrap: on
line diff
--- a/src/cdrom/macosx/SDLOSXCAGuard.h	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/cdrom/macosx/SDLOSXCAGuard.h	Mon Jul 10 21:04:37 2006 +0000
@@ -96,21 +96,21 @@
 /*public:*/
 /*  Actions */
 /*public:*/
-    int     (*Lock)(struct S_SDLOSXCAGuard *cag);
-    void    (*Unlock)(struct S_SDLOSXCAGuard *cag);
-    int     (*Try)(struct S_SDLOSXCAGuard *cag, int *outWasLocked);    /* returns true if lock is free, false if not */
-    void    (*Wait)(struct S_SDLOSXCAGuard *cag);
-    void    (*Notify)(struct S_SDLOSXCAGuard *cag);
+    int (*Lock) (struct S_SDLOSXCAGuard * cag);
+    void (*Unlock) (struct S_SDLOSXCAGuard * cag);
+    int (*Try) (struct S_SDLOSXCAGuard * cag, int *outWasLocked);       /* returns true if lock is free, false if not */
+    void (*Wait) (struct S_SDLOSXCAGuard * cag);
+    void (*Notify) (struct S_SDLOSXCAGuard * cag);
 
 /*  Implementation */
 /*protected:*/
     pthread_mutex_t mMutex;
-    pthread_cond_t  mCondVar;
-    pthread_t       mOwner;
+    pthread_cond_t mCondVar;
+    pthread_t mOwner;
 } SDLOSXCAGuard;
 
 SDLOSXCAGuard *new_SDLOSXCAGuard(void);
-void delete_SDLOSXCAGuard(SDLOSXCAGuard *cag);
+void delete_SDLOSXCAGuard(SDLOSXCAGuard * cag);
 
 #endif
-
+/* vi: set ts=4 sw=4 expandtab: */