From 55dede2c2b044cbf814ee815848e3d5759c93c77 Mon Sep 17 00:00:00 2001 From: andromeda Date: Mon, 17 Aug 2026 20:06:22 +0200 Subject: RGFW --- RGFW.hs | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 RGFW.hs (limited to 'RGFW.hs') 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 -- cgit v1.3.1