diff options
-rw-r--r-- | LICENSE | 7 | ||||
-rw-r--r-- | ghc-gc-hook.cabal | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,7 @@ +Copyright 2022 Tom Smeding + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/ghc-gc-hook.cabal b/ghc-gc-hook.cabal index 0865edc..b7ed15d 100644 --- a/ghc-gc-hook.cabal +++ b/ghc-gc-hook.cabal @@ -1,9 +1,16 @@ cabal-version: 2.0 name: ghc-gc-hook synopsis: GHC garbage collection hook +description: + GHC exposes an API for calling a user-defined C function after every garbage + collection pass. This small library gives access to this source of + information from Haskell in a bare-bones form; furthermore, it gives a small + usability improvement for running your own function from C using the hook + from this library. version: 0.2.0.0 category: GHC license: MIT +license-file: LICENSE author: Tom Smeding maintainer: tom@tomsmeding.com build-type: Simple |