#include #include module Bindings.APR.Atomic where #strict_import import Bindings.APR import Bindings.APR.ErrNo import Bindings.APR.Pools #ccall apr_atomic_init, Ptr -> IO #ccall apr_atomic_read32, Ptr -> IO #ccall apr_atomic_set32 , Ptr -> -> IO () #ccall apr_atomic_add32 , Ptr -> -> IO #ccall apr_atomic_sub32 , Ptr -> -> IO () #ccall apr_atomic_inc32 , Ptr -> IO #ccall apr_atomic_dec32 , Ptr -> IO CInt #ccall apr_atomic_cas32 , Ptr -> -> -> IO #ccall apr_atomic_xchg32, Ptr -> -> IO #ccall apr_atomic_casptr , Ptr (Ptr ()) -> Ptr () -> Ptr () -> IO (Ptr ()) #ccall apr_atomic_xchgptr, Ptr (Ptr ()) -> Ptr () -> IO (Ptr ())