#include #include module Bindings.APR.Allocator where #strict_import 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 #num APR_ALLOCATOR_MAX_FREE_UNLIMITED #ccall apr_allocator_create , Ptr (Ptr ) -> IO #ccall apr_allocator_destroy, Ptr -> IO () #ccall apr_allocator_alloc , Ptr -> -> IO (Ptr ) #ccall apr_allocator_free , Ptr -> Ptr -> IO () #ccall apr_allocator_owner_set, Ptr -> Ptr -> IO () #ccall apr_allocator_owner_get, Ptr -> IO (Ptr ) #ccall apr_allocator_max_free_set, Ptr -> -> IO () #ccall apr_allocator_mutex_set, Ptr -> Ptr -> IO () #ccall apr_allocator_mutex_get, Ptr -> IO (Ptr )