summaryrefslogtreecommitdiff
path: root/RGFW.hs
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-08-17 20:06:22 +0200
committerandromeda <andromeda@lenovo>2026-08-17 20:06:22 +0200
commit55dede2c2b044cbf814ee815848e3d5759c93c77 (patch)
treeca7684514986bbc78455f570f328570d5bf47fce /RGFW.hs
parenta49e506fcd5a037dd29831e5dbcd0c574060c4b5 (diff)
RGFW
Diffstat (limited to 'RGFW.hs')
-rw-r--r--RGFW.hs31
1 files changed, 31 insertions, 0 deletions
diff --git a/RGFW.hs b/RGFW.hs
new file mode 100644
index 0000000..95070b0
--- /dev/null
+++ b/RGFW.hs
@@ -0,0 +1,31 @@
+{-# 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 #-}
+
+module RGFW where
+
+import HsBindgen.Runtime.LibC
+import HsBindgen.TH
+
+let
+ conf = def{clang = def{extraIncludeDirs = [Dir "include"]}}
+ confTH = def{verbosity = Verbosity Warning}
+ in
+ withHsBindgen conf confTH $ hashInclude "RGFW.h" \ No newline at end of file