]> git.cworth.org Git - apitrace/blobdiff - common/os.hpp
Switch os functions to camelcase.
[apitrace] / common / os.hpp
index 24a38efcf999a07dd75c14ddf11bdeb42e44ca31..02625c2ad4f21808c4e9f3f96f62218884dbb83a 100644 (file)
 
 namespace os {
 
-void AcquireMutex(void);
+void acquireMutex(void);
 
-void ReleaseMutex(void);
+void releaseMutex(void);
 
-bool GetProcessName(char *str, size_t size);
-bool GetCurrentDir(char *str, size_t size);
+bool getProcessName(char *str, size_t size);
+bool getCurrentDir(char *str, size_t size);
 
-void DebugMessage(const char *format, ...)
+void log(const char *format, ...)
 #ifdef __GNUC__
     __attribute__ ((format (printf, 1, 2)))
 #endif
@@ -86,12 +86,12 @@ void DebugMessage(const char *format, ...)
 /**
  * Get the current time in microseconds from an unknown base.
  */
-long long GetTime(void);
+long long getTime(void);
 
-void Abort(void);
+void abort(void);
 
-void SetExceptionCallback(void (*callback)(void));
-void ResetExceptionCallback(void);
+void setExceptionCallback(void (*callback)(void));
+void resetExceptionCallback(void);
 
 } /* namespace os */