]> git.cworth.org Git - apitrace/blobdiff - os.hpp
Don't (de)serialize mirror images.
[apitrace] / os.hpp
diff --git a/os.hpp b/os.hpp
index 0716784ec939e0ef29ba7563b54a9f7166ef9d2c..8e487b502937f02c5e80ae0a292c9c7fd0e7d7d0 100644 (file)
--- a/os.hpp
+++ b/os.hpp
@@ -59,7 +59,11 @@ void ReleaseMutex(void);
 bool GetProcessName(char *str, size_t size);
 bool GetCurrentDir(char *str, size_t size);
 
-void DebugMessage(const char *format, ...);
+void DebugMessage(const char *format, ...)
+#ifdef __GNUC__
+    __attribute__ ((format (printf, 1, 2)))
+#endif
+;
 
 #if defined _WIN32 || defined __CYGWIN__
   /* We always use .def files on windows for now */
@@ -86,6 +90,9 @@ long long GetTime(void);
 
 void Abort(void);
 
+void SetExceptionCallback(void (*callback)(void));
+void ResetExceptionCallback(void);
+
 } /* namespace OS */
 
 #endif /* _OS_HPP_ */