Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/include/xerror.h
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-05-03 21:53:47 (GMT)
commit1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch)
tree698eefa87ac437deaf36a4141b326f8ce7986692 /src/include/xerror.h
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'src/include/xerror.h')
-rw-r--r--src/include/xerror.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/xerror.h b/src/include/xerror.h
new file mode 100644
index 0000000..2ae5638
--- /dev/null
+++ b/src/include/xerror.h
@@ -0,0 +1,12 @@
+#ifndef XERROR_H
+#define XERROR_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void x_message(CONST char *text, ...);
+ void x_error(CONST char *text, ...);
+ void x_fatalerror(CONST char *text, ...) NORETURN;
+#ifdef __cplusplus
+}
+#endif
+#endif