clr-host 0.2.0.1 → 0.2.1.0
raw patch · 3 files changed
+24/−5 lines, 3 filesnew-uploader
Files
- CHANGELOG.md +9/−0
- clr-host.cabal +4/−4
- src/Clr/Host.hs +11/−1
+ CHANGELOG.md view
@@ -0,0 +1,9 @@+## Version 0.2.1.0 (2018-10-01)++- Replace DEPRECATED pragma for startClr and stopClr with a WARNING pragma ([#22][22], [@moodmosaic][moodmosaic])++[moodmosaic]:+ https://gitlab.com/moodmosaic++[22]:+ https://gitlab.com/tim-m89/clr-haskell/merge_requests/22
clr-host.cabal view
@@ -1,5 +1,5 @@ name: clr-host-version: 0.2.0.1+version: 0.2.1.0 synopsis: Hosting the Common Language Runtime description: clr-host is a library that provides the ability to host (also known as embed) the common language runtime within the current Haskell process. Generally you'll only@@ -10,13 +10,13 @@ license: BSD3 license-file: LICENSE author: Tim Matthews-maintainer: pepeiborra@gmail.com+maintainer: Nikos Baxevanis <nikos.baxevanis@gmail.com> copyright: 2016-2017 Tim Matthews category: Language, FFI, CLR, .NET build-type: Custom-extra-source-files: src/Driver.cs+extra-source-files: src/Driver.cs, CHANGELOG.md extra-tmp-files: src/Driver.dll-cabal-version: >=1.24+cabal-version: 1.24 source-repository head type: git
src/Clr/Host.hs view
@@ -21,7 +21,17 @@ import Foreign.Ptr -{-# DEPRECATED startClr, stopClr "Use withClr" #-}+{-# WARNING startClr, stopClr [+ "This function was deprecated in version 0.2.0 in favor of withClr "+ , "which was never part of the public API."+ , ""+ , "withClr is there to provide a convenient syntax that ensures both "+ , "startClr and stopClr are called."+ , ""+ , "stopClr is no-op and so startClr must be called once per process. "+ , "See also: https://gitlab.com/tim-m89/clr-haskell/issues/33"+ ]+#-} startClr :: IO () startClr = do ClrHostConfig hostType <- getClrHostConfig