]> gitweb @ CieloNegro.org - bindings-apr.git/blobdiff - Bindings/APR/Allocator.hsc
more bindings
[bindings-apr.git] / Bindings / APR / Allocator.hsc
index 0ee0f9713fc82232f3b9b5ce80bd002c33567cfd..236fff908837cff4a2b441d5f67149626609ebcd 100644 (file)
@@ -6,6 +6,7 @@ module Bindings.APR.Allocator where
 import Bindings.APR
 import Bindings.APR.Allocator.Types
 import Bindings.APR.Errno
+import Bindings.APR.Thread.Mutex
 import Bindings.APR.Pools
 
 #num APR_MEMNODE_T_SIZE
@@ -21,4 +22,5 @@ import Bindings.APR.Pools
 
 #ccall apr_allocator_max_free_set, Ptr <apr_allocator_t> -> <apr_size_t> -> IO ()
 
--- FIXME: incomplete
\ No newline at end of file
+#ccall apr_allocator_mutex_set, Ptr <apr_allocator_t> -> Ptr <apr_thread_mutex_t> -> IO ()
+#ccall apr_allocator_mutex_get, Ptr <apr_allocator_t> -> IO (Ptr <apr_thread_mutex_t>)