fficxx-0.6: Automatic C++ binding generation
Safe HaskellNone
LanguageHaskell2010

FFICXX.Generate.Code.Primitive

Synopsis

Documentation

data CFunSig Source #

Constructors

CFunSig 

Fields

data HsFunSig Source #

Constructors

HsFunSig 

Fields

convertCpp2HS4Tmpl Source #

Arguments

:: Type ()

self

-> Maybe Class 
-> [Type ()]

type paramemter splice

-> Types 
-> Type () 
 

extractArgRetTypes Source #

Arguments

:: Maybe Class

class (Nothing for top-level function)

-> Bool

is virtual function?

-> CFunSig

C type signature information for a given function -- (Args,Types) -- ^ (argument types, return type) of a given function

-> HsFunSig

Haskell type signature information for the function -- ([Type ()],[Asst ()]) -- ^ (types, class constraints)

hsFFIFuncTyp :: Maybe (Selfness, Class) -> CFunSig -> Type () Source #

this is for FFI type.