ghc-9.2.8: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Types.ForeignStubs

Description

Foreign export stubs

Synopsis

Documentation

data ForeignStubs Source #

Foreign export stubs

Constructors

NoStubs

We don't have any stubs

ForeignStubs CHeader CStub

There are some stubs. Parameters:

1) Header file prototypes for "foreign exported" functions

2) C stubs to use when calling "foreign exported" functions

newtype CHeader Source #

Constructors

CHeader 

Fields

Instances

Instances details
Monoid CHeader Source # 
Instance details

Defined in GHC.Types.ForeignStubs

Semigroup CHeader Source # 
Instance details

Defined in GHC.Types.ForeignStubs

newtype CStub Source #

Constructors

CStub 

Fields

Instances

Instances details
Monoid CStub Source # 
Instance details

Defined in GHC.Types.ForeignStubs

Semigroup CStub Source # 
Instance details

Defined in GHC.Types.ForeignStubs