]> gitweb @ CieloNegro.org - bindings-apr-util.git/blobdiff - Bindings/APU/Version.hsc
Bindings.APR.XML and APU.Version
[bindings-apr-util.git] / Bindings / APU / Version.hsc
diff --git a/Bindings/APU/Version.hsc b/Bindings/APU/Version.hsc
new file mode 100644 (file)
index 0000000..9da2d30
--- /dev/null
@@ -0,0 +1,17 @@
+#include <bindings.dsl.h>
+#include <apu_version.h>
+
+module Bindings.APU.Version where
+#strict_import
+import Bindings.APR.Version
+
+#num APU_MAJOR_VERSION
+#num APU_MINOR_VERSION
+#num APU_PATCH_VERSION
+
+#globalarray APU_VERSION_STRING, CChar
+
+#ifndef APU_VERSION_ONLY
+#  ccall apu_version       , Ptr <apr_version_t> -> IO ()
+#  ccall apu_version_string, IO (Ptr CChar)
+#endif