From ab3ce3af890671d0430ff39e2320843df450c1d5 Mon Sep 17 00:00:00 2001 From: andromeda Date: Wed, 2 Sep 2026 04:51:24 +0200 Subject: update hs-bindgen and co., add .stylish-haskell.yaml, add doxygen --- RGFW.hs | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'RGFW.hs') 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" -- cgit v1.3.1