summaryrefslogtreecommitdiff
path: root/RGFW.hs
diff options
context:
space:
mode:
Diffstat (limited to 'RGFW.hs')
-rw-r--r--RGFW.hs48
1 files changed, 24 insertions, 24 deletions
diff --git a/RGFW.hs b/RGFW.hs
index e20e64f..9a7a26b 100644
--- a/RGFW.hs
+++ b/RGFW.hs
@@ -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"