HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

Moduleghc-10.0.0.20260917GHC2024

GHC.Types.ForeignStubs

Foreign export stubs

Synopsis
datadata ForeignStubs

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

finalizerCStub fn_nm decls body is a CStub containing C finalizer function (e.g. an entry of the .fini_array section) named fn_nm with the given body and the given set of declarations.

See Note [Finalizers via __cxa_atexit]