secp256k1-haskell-1.2.0: Bindings for secp256k1
LicenseUNLICENSE
MaintainerJean-Pierre Rupp <jprupp@protonmail.ch>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Crypto.Secp256k1.Internal.Context

Description

The API for this module may change at any time. This is an internal module only exposed for hacking and experimentation.

Documentation

newtype Ctx Source #

Constructors

Ctx 

Fields

withContext :: (Ctx -> IO a) -> IO a Source #

setIllegalCallback Source #

Arguments

:: Ptr LCtx 
-> FunPtr (CString -> Ptr a -> IO ())

message, data

-> Ptr a

data

-> IO () 

setErrorCallback Source #

Arguments

:: Ptr LCtx 
-> FunPtr (CString -> Ptr a -> IO ())

message, data

-> Ptr a

data

-> IO ()