packages feed

copilot-c99-4.8: src/Copilot/Compile/C99/Settings.hs

-- | Settings used by the code generator to customize the code.
module Copilot.Compile.C99.Settings
    ( CSettings(..)
    , mkDefaultCSettings
    )
  where

-- | Settings used to customize the code generated.
data CSettings = CSettings
  { cSettingsStepFunctionName :: String
  , cSettingsOutputDirectory  :: FilePath
  }

-- | Default settings with a step function called @step@.
mkDefaultCSettings :: CSettings
mkDefaultCSettings = CSettings "step" "."