aboutsummaryrefslogtreecommitdiff
path: root/libplatform/sys/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libplatform/sys/error.h')
-rw-r--r--libplatform/sys/error.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libplatform/sys/error.h b/libplatform/sys/error.h
new file mode 100644
index 0000000..8776458
--- /dev/null
+++ b/libplatform/sys/error.h
@@ -0,0 +1,16 @@
+#ifndef MP4V2_PLATFORM_SYS_ERROR_H
+#define MP4V2_PLATFORM_SYS_ERROR_H
+
+namespace mp4v2 { namespace platform { namespace sys {
+
+///////////////////////////////////////////////////////////////////////////////
+
+MP4V2_EXPORT int getLastError ( );
+MP4V2_EXPORT const char* getLastErrorStr ( );
+MP4V2_EXPORT const char* getErrorStr ( int );
+
+///////////////////////////////////////////////////////////////////////////////
+
+}}} // namespace mp4v2::platform::sys
+
+#endif // MP4V2_PLATFORM_SYS_ERROR_H