]> gitweb @ CieloNegro.org - bindings-apr.git/blobdiff - Bindings/APR/Allocator/Types.hsc
more bindings
[bindings-apr.git] / Bindings / APR / Allocator / Types.hsc
diff --git a/Bindings/APR/Allocator/Types.hsc b/Bindings/APR/Allocator/Types.hsc
new file mode 100644 (file)
index 0000000..088d6f6
--- /dev/null
@@ -0,0 +1,17 @@
+#include <bindings.dsl.h>
+#include <apr_allocator.h>
+
+module Bindings.APR.Allocator.Types where
+#strict_import
+import Bindings.APR
+
+#opaque_t apr_allocator_t
+
+#starttype struct apr_memnode_t
+#field next       , Ptr <apr_memnode_t>
+#field ref        , Ptr (Ptr <apr_memnode_t>)
+#field index      , <apr_uint32_t>
+#field free_index , <apr_uint32_t>
+#field first_avail, Ptr CChar
+#field endp       , Ptr CChar
+#stoptype