fficxx-0.5.1: automatic C++ binding generation

Copyright(c) 2011-2018 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

FFICXX.Generate.Code.HsFrontEnd

Description

 
Synopsis

Documentation

genHsFrontInstNew Source #

Arguments

:: Class

only concrete class

-> Reader AnnotateMap [Decl ()] 

genExportConstructorAndNonvirtual :: Class -> [ExportSpec ()] Source #

constructor and non-virtual function

genExportStatic :: Class -> [ExportSpec ()] Source #

staic function export list

genImportForTopLevelFunction :: TopLevelFunction -> [ImportDecl ()] Source #

generate import list for a given top-level function currently this may generate duplicate import list. TODO: eliminate duplicated imports.

genImportInTopLevel :: String -> ([ClassModule], [TemplateClassModule]) -> TopLevelImportHeader -> [ImportDecl ()] Source #

generate import list for top level module