hs-bindgen-runtime
Safe HaskellSafe-Inferred
LanguageGHC2021

HsBindgen.Runtime.FLAM

Description

Intended for qualified import.

import HsBindgen.Runtime.FLAM (WithFlam)
import HsBindgen.Runtime.FLAM qualified as FLAM
Synopsis

Definitions

class Offset elem aux | aux -> elem where Source #

Methods

offset :: Proxy# aux -> Int Source #

class Offset elem aux => NumElems elem aux | aux -> elem where Source #

Methods

numElems :: aux -> Int Source #

data WithFlam elem aux Source #

Data structure with flexible array member

Constructors

WithFlam 

Fields

Instances

Instances details
(Show aux, Show elem, Storable elem) => Show (WithFlam elem aux) Source # 
Instance details

Defined in HsBindgen.Runtime.FLAM

Methods

showsPrec :: Int -> WithFlam elem aux -> ShowS #

show :: WithFlam elem aux -> String #

showList :: [WithFlam elem aux] -> ShowS #

(Storable aux, Storable elem, NumElems elem aux) => ReadRaw (WithFlam elem aux) Source # 
Instance details

Defined in HsBindgen.Runtime.FLAM

Methods

readRaw :: Ptr (WithFlam elem aux) -> IO (WithFlam elem aux) Source #

(Storable aux, Storable elem, NumElems elem aux) => WriteRaw (WithFlam elem aux) Source # 
Instance details

Defined in HsBindgen.Runtime.FLAM

Methods

writeRaw :: Ptr (WithFlam elem aux) -> WithFlam elem aux -> IO () Source #

Exceptions