packages feed

Win32 2.11.0.0 → 2.11.1.0

raw patch · 3 files changed

+16/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

System/Win32/NLS.hsc view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE Trustworthy #-} ----------------------------------------------------------------------------- -- |@@ -15,6 +16,9 @@  module System.Win32.NLS  (         module System.Win32.NLS,+#if MIN_VERSION_base(4,15,0)+        CodePage,+#endif          -- defined in System.Win32.Types         LCID, LANGID, SortID, SubLANGID, PrimaryLANGID,@@ -33,6 +37,9 @@ import Data.IORef (modifyIORef, newIORef, readIORef) import Foreign import Foreign.C+#if MIN_VERSION_base(4,15,0)+import GHC.IO.Encoding.CodePage (CodePage)+#endif import Text.Printf (printf)  ##include "windows_cconv.h"@@ -69,7 +76,9 @@  -- ToDo: various enum functions. +#if !MIN_VERSION_base(4,15,0) type CodePage = UINT+#endif  #{enum CodePage,  , cP_ACP       = CP_ACP
Win32.cabal view
@@ -1,5 +1,5 @@ name:           Win32-version:        2.11.0.0+version:        2.11.1.0 license:        BSD3 license-file:   LICENSE author:         Alastair Reid, shelarcy, Tamar Christina
changelog.md view
@@ -1,5 +1,11 @@ # Changelog for [`Win32` package](http://hackage.haskell.org/package/Win32) +## 2.11.1.0 February 2021++* Win32 for GHC 9.2.x+* Make `System.Win32.NLS` re-export `CodePage` from `GHC.IO.Encoding.CodePage`+  in `base` when compiled with `base-4.15` or later.+ ## 2.11.0.0 January 2021  * Remove function `mapFileBs`.