Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data IsCPrimitive
- data TemplateParamInfo = TPInfo {}
- data FunctionParamInfo = FPInfo {}
- con :: String -> Type
- mkInstance :: Cxt -> Type -> [Dec] -> Dec
- mkTFunc :: (types, String, String -> String, types -> Q Type) -> Q Exp
- mkMember :: String -> (types -> String -> Q Exp) -> types -> String -> Q Dec
- mkNew :: String -> (types -> String -> Q Exp) -> types -> String -> Q Dec
- mkDelete :: String -> (types -> String -> Q Exp) -> types -> String -> Q Dec
- dot2_ :: String -> String
Documentation
data IsCPrimitive Source #
Primitive C type like int, double should be treated differently than Non-primitive type. The primitive type detection is not yet automatic. So we manually mark template instantiation with this boolean parameter.
Instances
Show IsCPrimitive Source # | |
Defined in FFICXX.Runtime.TH showsPrec :: Int -> IsCPrimitive -> ShowS # show :: IsCPrimitive -> String # showList :: [IsCPrimitive] -> ShowS # |
data TemplateParamInfo Source #
template parameter: A,B,.. in TA,B..
TPInfo | |
|
Instances
Show TemplateParamInfo Source # | |
Defined in FFICXX.Runtime.TH showsPrec :: Int -> TemplateParamInfo -> ShowS # show :: TemplateParamInfo -> String # showList :: [TemplateParamInfo] -> ShowS # |
data FunctionParamInfo Source #
function pointer parameter A(B,C,..) in std::functionA(B,C,..)
FPInfo | |
|
Instances
Show FunctionParamInfo Source # | |
Defined in FFICXX.Runtime.TH showsPrec :: Int -> FunctionParamInfo -> ShowS # show :: FunctionParamInfo -> String # showList :: [FunctionParamInfo] -> ShowS # |