]> gitweb @ CieloNegro.org - bindings-apr.git/blob - Bindings/APR/Version.hsc
6f0015327b17ae60f3878c2b19d0719894e72d87
[bindings-apr.git] / Bindings / APR / Version.hsc
1 #include <bindings.dsl.h>
2 #include <apr_version.h>
3
4 module Bindings.APR.Version where
5 #strict_import
6
7 #num APR_MAJOR_VERSION
8 #num APR_MINOR_VERSION
9 #num APR_PATCH_VERSION
10
11 #cinline APR_VERSION_AT_LEAST, CInt -> CInt -> CInt -> IO CInt
12
13 #pointer APR_IS_DEV_STRING
14 #pointer APR_VERSION_STRING
15
16 #if !defined(APR_VERSION_ONLY)
17
18 #  starttype apr_version_t
19 #    field major , CInt
20 #    field minor , CInt
21 #    field patch , CInt
22 #    field is_dev, CInt
23 #  stoptype
24
25 #  ccall apr_version, Ptr <apr_version_t> -> IO ()
26 #  ccall apr_version_string, IO (Ptr CChar)
27
28 #endif