aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-05-28 07:01:18 +0000
committerdos-reis <gdr@axiomatics.org>2008-05-28 07:01:18 +0000
commit45b01c6033a49183b9d7b22f7fc58484897edd48 (patch)
tree7dcea3a721d9434bcbd4300e275a3bd813bada98 /src/include
parent6ec189437ed7e4f737875407152cd2c359d2942e (diff)
downloadopen-axiom-45b01c6033a49183b9d7b22f7fc58484897edd48.tar.gz
* include/open-axiom.h (openaxiom_handle): New datatype.
* hyper/node.h [!X_DISPLAY_MISSING]: Use it.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/open-axiom.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/open-axiom.h b/src/include/open-axiom.h
index e2c545a7..1ae28921 100644
--- a/src/include/open-axiom.h
+++ b/src/include/open-axiom.h
@@ -34,6 +34,8 @@
#ifndef OPENAXIOM_included
#define OPENAXIOM_included
+#include "openaxiom-c-macros.h"
+
/* Cope with MS-platform oddities. */
#ifdef __MINGW32__
# ifdef DLL_EXPORT
@@ -53,4 +55,11 @@
#endif
typedef uint8_t openaxiom_byte;
+/* The opaque datatype. */
+#ifdef __MINGW32__
+typedef HANDLE openaxiom_handle;
+#else
+typedef void* openaxiom_handle;
+#endif
+
#endif /* OPENAXIOM_included */