fficxx-0.7.0.0: Automatic C++ binding generation
Safe HaskellSafe-Inferred
LanguageHaskell2010

FFICXX.Generate.Code.Cpp

Synopsis

Documentation

typedefStmts :: String -> [CStatement Identity] Source #

genTLTmplFunCpp :: IsCPrimitive -> TLTemplate -> CMacro Identity Source #

genTmplVarCpp :: IsCPrimitive -> TemplateClass -> Variable -> [CMacro Identity] Source #

genTmplClassCpp Source #

Arguments

:: IsCPrimitive 
-> TemplateClass 
-> ([TemplateFunction], [Variable])

(member functions, member accessors)

-> CMacro Identity 
 

returnCpp :: IsCPrimitive -> Types -> CExp Identity -> [CStatement Identity] Source #

 

funcToDef :: Class -> Function -> CStatement Identity Source #

tmplFunToDecl :: IsCPrimitive -> TemplateClass -> TemplateFunction -> CFunDecl Identity Source #

topLevelTemplateFunToDecl :: IsCPrimitive -> TLTemplate -> CFunDecl Identity Source #

top-level (bare) template function declaration

tmplFunToDef :: IsCPrimitive -> TemplateClass -> TemplateFunction -> CStatement Identity Source #

function definition in a template class

topLevelTemplateFunToDef :: IsCPrimitive -> TLTemplate -> CStatement Identity Source #

function definition in a template class

tmplVarToDef :: IsCPrimitive -> TemplateClass -> Variable -> Accessor -> CStatement Identity Source #