diff options
| author | andromeda <andromeda@lenovo> | 2026-09-02 04:51:24 +0200 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-09-02 04:51:24 +0200 |
| commit | ab3ce3af890671d0430ff39e2320843df450c1d5 (patch) | |
| tree | 6ae672dcba5d14400f8489b8e4eb3ac4a7194a63 /RGFW.hs | |
| parent | 2fb5d91cccc1af3aa2b8cc53329111f14f3b81b4 (diff) | |
Diffstat (limited to 'RGFW.hs')
| -rw-r--r-- | RGFW.hs | 48 |
1 files changed, 24 insertions, 24 deletions
@@ -1,34 +1,34 @@ -{-# LANGUAGE CApiFFI #-} -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE DerivingStrategies #-} -{-# LANGUAGE DerivingVia #-} -{-# LANGUAGE EmptyDataDecls #-} -{-# LANGUAGE ExplicitForAll #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE CApiFFI #-} +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE DeriveGeneric #-} +{-# LANGUAGE DerivingStrategies #-} +{-# LANGUAGE DerivingVia #-} +{-# LANGUAGE EmptyDataDecls #-} +{-# LANGUAGE ExplicitForAll #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} -{-# LANGUAGE MagicHash #-} -{-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE PatternSynonyms #-} -{-# LANGUAGE StandaloneDeriving #-} -{-# LANGUAGE TemplateHaskell #-} -{-# LANGUAGE TypeApplications #-} -{-# LANGUAGE TypeFamilies #-} -{-# LANGUAGE TypeOperators #-} -{-# LANGUAGE UnboxedTuples #-} -{-# LANGUAGE UndecidableInstances #-} +{-# LANGUAGE MagicHash #-} +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE PatternSynonyms #-} +{-# LANGUAGE StandaloneDeriving #-} +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeApplications #-} +{-# LANGUAGE TypeFamilies #-} +{-# LANGUAGE TypeOperators #-} +{-# LANGUAGE UnboxedTuples #-} +{-# LANGUAGE UndecidableInstances #-} module RGFW where -import HsBindgen.Runtime.LibC -import HsBindgen.TH +import HsBindgen.Runtime.LibC +import HsBindgen.TH let conf = def{ clang = def{ - extraIncludeDirs = [Pkg "include"], - defineMacros = [ "RGFW_VULKAN=" ]}, + argsBefore = ["-DRGFW_VULKAN"], + extraIncludeDirs = [PkgDir "include"]}, programSlicing = EnableProgramSlicing} confTH = def{verbosity = Verbosity Warning} in - withHsBindgen conf confTH $ hashInclude "RGFW.h"
\ No newline at end of file + withHsBindgen conf confTH $ hashInclude "RGFW.h" |
