gi-harfbuzz-0.0.2: HarfBuzz bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.HarfBuzz.Callbacks

Description

 
Synopsis

Signals

BufferMessageFuncT

type BufferMessageFuncT = BufferT -> FontT -> Text -> IO Int32 Source #

No description available in the introspection data.

type BufferMessageFuncT_WithClosures = BufferT -> FontT -> Text -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

type C_BufferMessageFuncT = Ptr BufferT -> Ptr FontT -> CString -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

drop_closures_BufferMessageFuncT :: BufferMessageFuncT -> BufferMessageFuncT_WithClosures Source #

A simple wrapper that ignores the closure arguments.

dynamic_BufferMessageFuncT :: (HasCallStack, MonadIO m) => FunPtr C_BufferMessageFuncT -> BufferT -> FontT -> Text -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_BufferMessageFuncT :: MonadIO m => BufferMessageFuncT -> m (GClosure C_BufferMessageFuncT) Source #

Wrap the callback into a GClosure.

mk_BufferMessageFuncT :: C_BufferMessageFuncT -> IO (FunPtr C_BufferMessageFuncT) Source #

Generate a function pointer callable from C code, from a C_BufferMessageFuncT.

noBufferMessageFuncT :: Maybe BufferMessageFuncT Source #

A convenience synonym for Nothing :: Maybe BufferMessageFuncT.

DestroyFuncT

type C_DestroyFuncT = Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type DestroyFuncT = IO () Source #

No description available in the introspection data.

type DestroyFuncT_WithClosures = Ptr () -> IO () Source #

No description available in the introspection data.

drop_closures_DestroyFuncT :: DestroyFuncT -> DestroyFuncT_WithClosures Source #

A simple wrapper that ignores the closure arguments.

dynamic_DestroyFuncT :: (HasCallStack, MonadIO m) => FunPtr C_DestroyFuncT -> Ptr () -> m () Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_DestroyFuncT :: MonadIO m => DestroyFuncT -> m (GClosure C_DestroyFuncT) Source #

Wrap the callback into a GClosure.

mk_DestroyFuncT :: C_DestroyFuncT -> IO (FunPtr C_DestroyFuncT) Source #

Generate a function pointer callable from C code, from a C_DestroyFuncT.

noDestroyFuncT :: Maybe DestroyFuncT Source #

A convenience synonym for Nothing :: Maybe DestroyFuncT.

noDestroyFuncT_WithClosures :: Maybe DestroyFuncT_WithClosures Source #

A convenience synonym for Nothing :: Maybe DestroyFuncT_WithClosures.

FontGetFontExtentsFuncT

type C_FontGetFontExtentsFuncT = Ptr FontT -> Ptr () -> Ptr FontExtentsT -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetFontExtentsFuncT = FontT -> Ptr () -> FontExtentsT -> IO Int32 Source #

No description available in the introspection data.

type FontGetFontExtentsFuncT_WithClosures = FontT -> Ptr () -> FontExtentsT -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetFontExtentsFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetFontExtentsFuncT -> FontT -> Ptr () -> FontExtentsT -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetFontExtentsFuncT :: MonadIO m => FontGetFontExtentsFuncT -> m (GClosure C_FontGetFontExtentsFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetFontExtentsFuncT :: C_FontGetFontExtentsFuncT -> IO (FunPtr C_FontGetFontExtentsFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetFontExtentsFuncT.

noFontGetFontExtentsFuncT :: Maybe FontGetFontExtentsFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetFontExtentsFuncT.

FontGetGlyphAdvanceFuncT

type C_FontGetGlyphAdvanceFuncT = Ptr FontT -> Ptr () -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphAdvanceFuncT = FontT -> Ptr () -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphAdvanceFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphAdvanceFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphAdvanceFuncT -> FontT -> Ptr () -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphAdvanceFuncT :: MonadIO m => FontGetGlyphAdvanceFuncT -> m (GClosure C_FontGetGlyphAdvanceFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphAdvanceFuncT :: C_FontGetGlyphAdvanceFuncT -> IO (FunPtr C_FontGetGlyphAdvanceFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphAdvanceFuncT.

noFontGetGlyphAdvanceFuncT :: Maybe FontGetGlyphAdvanceFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphAdvanceFuncT.

FontGetGlyphAdvancesFuncT

type C_FontGetGlyphAdvancesFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Int32 -> Word32 -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphAdvancesFuncT = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Int32 -> Word32 -> IO () Source #

No description available in the introspection data.

type FontGetGlyphAdvancesFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Int32 -> Word32 -> Ptr () -> IO () Source #

No description available in the introspection data.

dynamic_FontGetGlyphAdvancesFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphAdvancesFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Int32 -> Word32 -> Ptr () -> m () Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphAdvancesFuncT :: MonadIO m => FontGetGlyphAdvancesFuncT -> m (GClosure C_FontGetGlyphAdvancesFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphAdvancesFuncT :: C_FontGetGlyphAdvancesFuncT -> IO (FunPtr C_FontGetGlyphAdvancesFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphAdvancesFuncT.

noFontGetGlyphAdvancesFuncT :: Maybe FontGetGlyphAdvancesFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphAdvancesFuncT.

FontGetGlyphContourPointFuncT

type C_FontGetGlyphContourPointFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Int32 -> Int32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphContourPointFuncT = FontT -> Ptr () -> Word32 -> Word32 -> Int32 -> Int32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphContourPointFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Int32 -> Int32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphContourPointFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphContourPointFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Int32 -> Int32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

FontGetGlyphExtentsFuncT

type C_FontGetGlyphExtentsFuncT = Ptr FontT -> Ptr () -> Word32 -> Ptr GlyphExtentsT -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphExtentsFuncT = FontT -> Ptr () -> Word32 -> GlyphExtentsT -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphExtentsFuncT_WithClosures = FontT -> Ptr () -> Word32 -> GlyphExtentsT -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphExtentsFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphExtentsFuncT -> FontT -> Ptr () -> Word32 -> GlyphExtentsT -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphExtentsFuncT :: MonadIO m => FontGetGlyphExtentsFuncT -> m (GClosure C_FontGetGlyphExtentsFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphExtentsFuncT :: C_FontGetGlyphExtentsFuncT -> IO (FunPtr C_FontGetGlyphExtentsFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphExtentsFuncT.

noFontGetGlyphExtentsFuncT :: Maybe FontGetGlyphExtentsFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphExtentsFuncT.

FontGetGlyphFromNameFuncT

type C_FontGetGlyphFromNameFuncT = Ptr FontT -> Ptr () -> CString -> Int32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphFromNameFuncT = FontT -> Ptr () -> Text -> Int32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphFromNameFuncT_WithClosures = FontT -> Ptr () -> Text -> Int32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphFromNameFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphFromNameFuncT -> FontT -> Ptr () -> Text -> Int32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphFromNameFuncT :: MonadIO m => FontGetGlyphFromNameFuncT -> m (GClosure C_FontGetGlyphFromNameFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphFromNameFuncT :: C_FontGetGlyphFromNameFuncT -> IO (FunPtr C_FontGetGlyphFromNameFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphFromNameFuncT.

noFontGetGlyphFromNameFuncT :: Maybe FontGetGlyphFromNameFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphFromNameFuncT.

FontGetGlyphFuncT

type C_FontGetGlyphFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphFuncT = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

drop_closures_FontGetGlyphFuncT :: FontGetGlyphFuncT -> FontGetGlyphFuncT_WithClosures Source #

A simple wrapper that ignores the closure arguments.

dynamic_FontGetGlyphFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphFuncT :: MonadIO m => FontGetGlyphFuncT -> m (GClosure C_FontGetGlyphFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphFuncT :: C_FontGetGlyphFuncT -> IO (FunPtr C_FontGetGlyphFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphFuncT.

noFontGetGlyphFuncT :: Maybe FontGetGlyphFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphFuncT.

FontGetGlyphKerningFuncT

type C_FontGetGlyphKerningFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphKerningFuncT = FontT -> Ptr () -> Word32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphKerningFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphKerningFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphKerningFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphKerningFuncT :: MonadIO m => FontGetGlyphKerningFuncT -> m (GClosure C_FontGetGlyphKerningFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphKerningFuncT :: C_FontGetGlyphKerningFuncT -> IO (FunPtr C_FontGetGlyphKerningFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphKerningFuncT.

noFontGetGlyphKerningFuncT :: Maybe FontGetGlyphKerningFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphKerningFuncT.

FontGetGlyphNameFuncT

type C_FontGetGlyphNameFuncT = Ptr FontT -> Ptr () -> Word32 -> CString -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphNameFuncT = FontT -> Ptr () -> Word32 -> Text -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphNameFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Text -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphNameFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphNameFuncT -> FontT -> Ptr () -> Word32 -> Text -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphNameFuncT :: MonadIO m => FontGetGlyphNameFuncT -> m (GClosure C_FontGetGlyphNameFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphNameFuncT :: C_FontGetGlyphNameFuncT -> IO (FunPtr C_FontGetGlyphNameFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphNameFuncT.

noFontGetGlyphNameFuncT :: Maybe FontGetGlyphNameFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphNameFuncT.

FontGetGlyphOriginFuncT

type C_FontGetGlyphOriginFuncT = Ptr FontT -> Ptr () -> Word32 -> Int32 -> Int32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetGlyphOriginFuncT = FontT -> Ptr () -> Word32 -> Int32 -> Int32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetGlyphOriginFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Int32 -> Int32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetGlyphOriginFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetGlyphOriginFuncT -> FontT -> Ptr () -> Word32 -> Int32 -> Int32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetGlyphOriginFuncT :: MonadIO m => FontGetGlyphOriginFuncT -> m (GClosure C_FontGetGlyphOriginFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetGlyphOriginFuncT :: C_FontGetGlyphOriginFuncT -> IO (FunPtr C_FontGetGlyphOriginFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetGlyphOriginFuncT.

noFontGetGlyphOriginFuncT :: Maybe FontGetGlyphOriginFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetGlyphOriginFuncT.

FontGetNominalGlyphFuncT

type C_FontGetNominalGlyphFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetNominalGlyphFuncT = FontT -> Ptr () -> Word32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetNominalGlyphFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetNominalGlyphFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetNominalGlyphFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetNominalGlyphFuncT :: MonadIO m => FontGetNominalGlyphFuncT -> m (GClosure C_FontGetNominalGlyphFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetNominalGlyphFuncT :: C_FontGetNominalGlyphFuncT -> IO (FunPtr C_FontGetNominalGlyphFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetNominalGlyphFuncT.

noFontGetNominalGlyphFuncT :: Maybe FontGetNominalGlyphFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetNominalGlyphFuncT.

FontGetNominalGlyphsFuncT

type C_FontGetNominalGlyphsFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Word32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetNominalGlyphsFuncT = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Word32 -> Word32 -> IO Word32 Source #

No description available in the introspection data.

type FontGetNominalGlyphsFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Word32 Source #

No description available in the introspection data.

dynamic_FontGetNominalGlyphsFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetNominalGlyphsFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Word32 -> Word32 -> Ptr () -> m Word32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetNominalGlyphsFuncT :: MonadIO m => FontGetNominalGlyphsFuncT -> m (GClosure C_FontGetNominalGlyphsFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetNominalGlyphsFuncT :: C_FontGetNominalGlyphsFuncT -> IO (FunPtr C_FontGetNominalGlyphsFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetNominalGlyphsFuncT.

noFontGetNominalGlyphsFuncT :: Maybe FontGetNominalGlyphsFuncT Source #

A convenience synonym for Nothing :: Maybe FontGetNominalGlyphsFuncT.

FontGetVariationGlyphFuncT

type C_FontGetVariationGlyphFuncT = Ptr FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type FontGetVariationGlyphFuncT = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type FontGetVariationGlyphFuncT_WithClosures = FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_FontGetVariationGlyphFuncT :: (HasCallStack, MonadIO m) => FunPtr C_FontGetVariationGlyphFuncT -> FontT -> Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_FontGetVariationGlyphFuncT :: MonadIO m => FontGetVariationGlyphFuncT -> m (GClosure C_FontGetVariationGlyphFuncT) Source #

Wrap the callback into a GClosure.

mk_FontGetVariationGlyphFuncT :: C_FontGetVariationGlyphFuncT -> IO (FunPtr C_FontGetVariationGlyphFuncT) Source #

Generate a function pointer callable from C code, from a C_FontGetVariationGlyphFuncT.

ReferenceTableFuncT

type C_ReferenceTableFuncT = Ptr FaceT -> Word32 -> Ptr () -> IO (Ptr BlobT) Source #

Type for the callback on the (unwrapped) C side.

type ReferenceTableFuncT = FaceT -> Word32 -> IO BlobT Source #

No description available in the introspection data.

type ReferenceTableFuncT_WithClosures = FaceT -> Word32 -> Ptr () -> IO BlobT Source #

No description available in the introspection data.

drop_closures_ReferenceTableFuncT :: ReferenceTableFuncT -> ReferenceTableFuncT_WithClosures Source #

A simple wrapper that ignores the closure arguments.

dynamic_ReferenceTableFuncT :: (HasCallStack, MonadIO m) => FunPtr C_ReferenceTableFuncT -> FaceT -> Word32 -> Ptr () -> m BlobT Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_ReferenceTableFuncT :: MonadIO m => ReferenceTableFuncT -> m (GClosure C_ReferenceTableFuncT) Source #

Wrap the callback into a GClosure.

mk_ReferenceTableFuncT :: C_ReferenceTableFuncT -> IO (FunPtr C_ReferenceTableFuncT) Source #

Generate a function pointer callable from C code, from a C_ReferenceTableFuncT.

noReferenceTableFuncT :: Maybe ReferenceTableFuncT Source #

A convenience synonym for Nothing :: Maybe ReferenceTableFuncT.

UnicodeCombiningClassFuncT

type C_UnicodeCombiningClassFuncT = Ptr UnicodeFuncsT -> Word32 -> Ptr () -> IO CUInt Source #

Type for the callback on the (unwrapped) C side.

type UnicodeCombiningClassFuncT = UnicodeFuncsT -> Word32 -> IO UnicodeCombiningClassT Source #

No description available in the introspection data.

type UnicodeCombiningClassFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Ptr () -> IO UnicodeCombiningClassT Source #

No description available in the introspection data.

dynamic_UnicodeCombiningClassFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeCombiningClassFuncT -> UnicodeFuncsT -> Word32 -> Ptr () -> m UnicodeCombiningClassT Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeCombiningClassFuncT :: MonadIO m => UnicodeCombiningClassFuncT -> m (GClosure C_UnicodeCombiningClassFuncT) Source #

Wrap the callback into a GClosure.

mk_UnicodeCombiningClassFuncT :: C_UnicodeCombiningClassFuncT -> IO (FunPtr C_UnicodeCombiningClassFuncT) Source #

Generate a function pointer callable from C code, from a C_UnicodeCombiningClassFuncT.

UnicodeComposeFuncT

type C_UnicodeComposeFuncT = Ptr UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type UnicodeComposeFuncT = UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type UnicodeComposeFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

drop_closures_UnicodeComposeFuncT :: UnicodeComposeFuncT -> UnicodeComposeFuncT_WithClosures Source #

A simple wrapper that ignores the closure arguments.

dynamic_UnicodeComposeFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeComposeFuncT -> UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeComposeFuncT :: MonadIO m => UnicodeComposeFuncT -> m (GClosure C_UnicodeComposeFuncT) Source #

Wrap the callback into a GClosure.

mk_UnicodeComposeFuncT :: C_UnicodeComposeFuncT -> IO (FunPtr C_UnicodeComposeFuncT) Source #

Generate a function pointer callable from C code, from a C_UnicodeComposeFuncT.

noUnicodeComposeFuncT :: Maybe UnicodeComposeFuncT Source #

A convenience synonym for Nothing :: Maybe UnicodeComposeFuncT.

UnicodeDecomposeCompatibilityFuncT

type C_UnicodeDecomposeCompatibilityFuncT = Ptr UnicodeFuncsT -> Word32 -> Word32 -> Ptr () -> IO Word32 Source #

Type for the callback on the (unwrapped) C side.

type UnicodeDecomposeCompatibilityFuncT Source #

Arguments

 = UnicodeFuncsT

ufuncs: a Unicode function structure

-> Word32

u: codepoint to decompose

-> Word32

decomposed: address of codepoint array (of length UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into

-> IO Word32

Returns: number of codepoints in the full compatibility decomposition of u, or 0 if no decomposition available.

Deprecated: (Since version 2.0.0)

Fully decompose u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to decomposed. The complete length of the decomposition will be returned.

If u has no compatibility decomposition, zero should be returned.

The Unicode standard guarantees that a buffer of length UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any compatibility decomposition plus an terminating value of 0. Consequently, decompose must be allocated by the caller to be at least this length. Implementations of this function type must ensure that they do not write past the provided array.

type UnicodeDecomposeCompatibilityFuncT_WithClosures Source #

Arguments

 = UnicodeFuncsT

ufuncs: a Unicode function structure

-> Word32

u: codepoint to decompose

-> Word32

decomposed: address of codepoint array (of length UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into

-> Ptr ()

userData: user data pointer as passed to unicodeFuncsSetDecomposeCompatibilityFunc

-> IO Word32

Returns: number of codepoints in the full compatibility decomposition of u, or 0 if no decomposition available.

Fully decompose u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to decomposed. The complete length of the decomposition will be returned.

If u has no compatibility decomposition, zero should be returned.

The Unicode standard guarantees that a buffer of length UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any compatibility decomposition plus an terminating value of 0. Consequently, decompose must be allocated by the caller to be at least this length. Implementations of this function type must ensure that they do not write past the provided array.

dynamic_UnicodeDecomposeCompatibilityFuncT Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FunPtr C_UnicodeDecomposeCompatibilityFuncT 
-> UnicodeFuncsT

ufuncs: a Unicode function structure

-> Word32

u: codepoint to decompose

-> Word32

decomposed: address of codepoint array (of length UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into

-> Ptr ()

userData: user data pointer as passed to unicodeFuncsSetDecomposeCompatibilityFunc

-> m Word32

Returns: number of codepoints in the full compatibility decomposition of u, or 0 if no decomposition available.

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

UnicodeDecomposeFuncT

type C_UnicodeDecomposeFuncT = Ptr UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

Type for the callback on the (unwrapped) C side.

type UnicodeDecomposeFuncT = UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> IO Int32 Source #

No description available in the introspection data.

type UnicodeDecomposeFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> Ptr () -> IO Int32 Source #

No description available in the introspection data.

dynamic_UnicodeDecomposeFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeDecomposeFuncT -> UnicodeFuncsT -> Word32 -> Word32 -> Word32 -> Ptr () -> m Int32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeDecomposeFuncT :: MonadIO m => UnicodeDecomposeFuncT -> m (GClosure C_UnicodeDecomposeFuncT) Source #

Wrap the callback into a GClosure.

mk_UnicodeDecomposeFuncT :: C_UnicodeDecomposeFuncT -> IO (FunPtr C_UnicodeDecomposeFuncT) Source #

Generate a function pointer callable from C code, from a C_UnicodeDecomposeFuncT.

noUnicodeDecomposeFuncT :: Maybe UnicodeDecomposeFuncT Source #

A convenience synonym for Nothing :: Maybe UnicodeDecomposeFuncT.

UnicodeEastasianWidthFuncT

type C_UnicodeEastasianWidthFuncT = Ptr UnicodeFuncsT -> Word32 -> Ptr () -> IO Word32 Source #

Type for the callback on the (unwrapped) C side.

type UnicodeEastasianWidthFuncT = UnicodeFuncsT -> Word32 -> IO Word32 Source #

Deprecated: (Since version 2.0.0)

No description available in the introspection data.

type UnicodeEastasianWidthFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Ptr () -> IO Word32 Source #

No description available in the introspection data.

dynamic_UnicodeEastasianWidthFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeEastasianWidthFuncT -> UnicodeFuncsT -> Word32 -> Ptr () -> m Word32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeEastasianWidthFuncT :: MonadIO m => UnicodeEastasianWidthFuncT -> m (GClosure C_UnicodeEastasianWidthFuncT) Source #

Wrap the callback into a GClosure.

mk_UnicodeEastasianWidthFuncT :: C_UnicodeEastasianWidthFuncT -> IO (FunPtr C_UnicodeEastasianWidthFuncT) Source #

Generate a function pointer callable from C code, from a C_UnicodeEastasianWidthFuncT.

UnicodeGeneralCategoryFuncT

type C_UnicodeGeneralCategoryFuncT = Ptr UnicodeFuncsT -> Word32 -> Ptr () -> IO CUInt Source #

Type for the callback on the (unwrapped) C side.

type UnicodeGeneralCategoryFuncT = UnicodeFuncsT -> Word32 -> IO UnicodeGeneralCategoryT Source #

No description available in the introspection data.

type UnicodeGeneralCategoryFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Ptr () -> IO UnicodeGeneralCategoryT Source #

No description available in the introspection data.

dynamic_UnicodeGeneralCategoryFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeGeneralCategoryFuncT -> UnicodeFuncsT -> Word32 -> Ptr () -> m UnicodeGeneralCategoryT Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeGeneralCategoryFuncT :: MonadIO m => UnicodeGeneralCategoryFuncT -> m (GClosure C_UnicodeGeneralCategoryFuncT) Source #

Wrap the callback into a GClosure.

UnicodeMirroringFuncT

type C_UnicodeMirroringFuncT = Ptr UnicodeFuncsT -> Word32 -> Ptr () -> IO Word32 Source #

Type for the callback on the (unwrapped) C side.

type UnicodeMirroringFuncT = UnicodeFuncsT -> Word32 -> IO Word32 Source #

No description available in the introspection data.

type UnicodeMirroringFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Ptr () -> IO Word32 Source #

No description available in the introspection data.

dynamic_UnicodeMirroringFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeMirroringFuncT -> UnicodeFuncsT -> Word32 -> Ptr () -> m Word32 Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeMirroringFuncT :: MonadIO m => UnicodeMirroringFuncT -> m (GClosure C_UnicodeMirroringFuncT) Source #

Wrap the callback into a GClosure.

mk_UnicodeMirroringFuncT :: C_UnicodeMirroringFuncT -> IO (FunPtr C_UnicodeMirroringFuncT) Source #

Generate a function pointer callable from C code, from a C_UnicodeMirroringFuncT.

noUnicodeMirroringFuncT :: Maybe UnicodeMirroringFuncT Source #

A convenience synonym for Nothing :: Maybe UnicodeMirroringFuncT.

UnicodeScriptFuncT

type C_UnicodeScriptFuncT = Ptr UnicodeFuncsT -> Word32 -> Ptr () -> IO CUInt Source #

Type for the callback on the (unwrapped) C side.

type UnicodeScriptFuncT = UnicodeFuncsT -> Word32 -> IO ScriptT Source #

No description available in the introspection data.

type UnicodeScriptFuncT_WithClosures = UnicodeFuncsT -> Word32 -> Ptr () -> IO ScriptT Source #

No description available in the introspection data.

drop_closures_UnicodeScriptFuncT :: UnicodeScriptFuncT -> UnicodeScriptFuncT_WithClosures Source #

A simple wrapper that ignores the closure arguments.

dynamic_UnicodeScriptFuncT :: (HasCallStack, MonadIO m) => FunPtr C_UnicodeScriptFuncT -> UnicodeFuncsT -> Word32 -> Ptr () -> m ScriptT Source #

Given a pointer to a foreign C function, wrap it into a function callable from Haskell.

genClosure_UnicodeScriptFuncT :: MonadIO m => UnicodeScriptFuncT -> m (GClosure C_UnicodeScriptFuncT) Source #

Wrap the callback into a GClosure.

mk_UnicodeScriptFuncT :: C_UnicodeScriptFuncT -> IO (FunPtr C_UnicodeScriptFuncT) Source #

Generate a function pointer callable from C code, from a C_UnicodeScriptFuncT.

noUnicodeScriptFuncT :: Maybe UnicodeScriptFuncT Source #

A convenience synonym for Nothing :: Maybe UnicodeScriptFuncT.