X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=bindings-apr.git;a=blobdiff_plain;f=Bindings%2FAPR%2FVersion.hsc;fp=Bindings%2FAPR%2FVersion.hsc;h=6f0015327b17ae60f3878c2b19d0719894e72d87;hp=0000000000000000000000000000000000000000;hb=0848d77fdcf4583b989d3fb67a5b08e9bfad2ee8;hpb=0b1b39c64d16d52ed28a39defd49a7a3993f608b diff --git a/Bindings/APR/Version.hsc b/Bindings/APR/Version.hsc new file mode 100644 index 0000000..6f00153 --- /dev/null +++ b/Bindings/APR/Version.hsc @@ -0,0 +1,28 @@ +#include +#include + +module Bindings.APR.Version where +#strict_import + +#num APR_MAJOR_VERSION +#num APR_MINOR_VERSION +#num APR_PATCH_VERSION + +#cinline APR_VERSION_AT_LEAST, CInt -> CInt -> CInt -> IO CInt + +#pointer APR_IS_DEV_STRING +#pointer APR_VERSION_STRING + +#if !defined(APR_VERSION_ONLY) + +# starttype apr_version_t +# field major , CInt +# field minor , CInt +# field patch , CInt +# field is_dev, CInt +# stoptype + +# ccall apr_version, Ptr -> IO () +# ccall apr_version_string, IO (Ptr CChar) + +#endif \ No newline at end of file