sdl2-ttf 2.1.1 → 2.1.2
raw patch · 4 files changed
+14/−6 lines, 4 filesdep +th-abstractiondep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies added: th-abstraction
Dependency ranges changed: base
API changes (from Hackage documentation)
- SDL.Raw.Font: getVersion :: forall m_afxw. MonadIO m_afxw => m_afxw (Ptr Version)
+ SDL.Raw.Font: getVersion :: forall m_ae9i. MonadIO m_ae9i => m_ae9i (Ptr Version)
- SDL.Raw.Font: init :: forall m_afyt. MonadIO m_afyt => m_afyt CInt
+ SDL.Raw.Font: init :: forall m_aeaf. MonadIO m_aeaf => m_aeaf CInt
- SDL.Raw.Font: quit :: forall m_afJN. MonadIO m_afJN => m_afJN ()
+ SDL.Raw.Font: quit :: forall m_aely. MonadIO m_aely => m_aely ()
- SDL.Raw.Font: wasInit :: forall m_afJ4. MonadIO m_afJ4 => m_afJ4 CInt
+ SDL.Raw.Font: wasInit :: forall m_aekP. MonadIO m_aekP => m_aekP CInt
Files
- LICENSE +1/−1
- example/Example.hs +5/−0
- sdl2-ttf.cabal +6/−4
- src/SDL/Raw/Helper.hs +2/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2013-2020 Ömer Sinan Ağacan, Siniša Biđin, Rongcui Dong+Copyright (c) 2013-2021 Ömer Sinan Ağacan, Siniša Biđin, Rongcui Dong and others (see git commits) This code is licensed under MIT or BSD3 licenses, so that the user
example/Example.hs view
@@ -1,3 +1,8 @@+-- Note: this code uses the old, inherited from sdl1, surface-based+-- API for displaying on screen. It can't be used together with the new+-- renderer API. You should instead copy the surface to a texture ASAP+-- and then display the texture using the renderer in the usual+-- sdl2 way. {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-}
sdl2-ttf.cabal view
@@ -1,5 +1,5 @@ name: sdl2-ttf-version: 2.1.1+version: 2.1.2 synopsis: Bindings to SDL2_ttf. description: Haskell bindings to SDL2_ttf C++ library <http://www.libsdl.org/projects/SDL_ttf/>. bug-reports: https://github.com/haskell-game/sdl2-ttf/issues@@ -10,11 +10,12 @@ Siniša Biđin <sinisa@bidin.eu>, Ömer Sinan Ağacan (omeragacan@gmail.com), Sean Chalmers (sclhiannan@gmail.com)-copyright: Copyright © 2013-2017 Ömer Sinan Ağacan, Siniša Biđin, Rongcui Dong+copyright: Copyright © 2013-2021 Ömer Sinan Ağacan, Siniša Biđin, Rongcui Dong and others (see git commits) category: Font, Foreign binding, Graphics build-type: Simple cabal-version: >=1.10-tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.2, GHC==8.6.5, GHC==8.8.3+tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4,+ GHC==8.10.4, GHC==9.0.1 source-repository head type: git@@ -41,11 +42,12 @@ cbits/helpers.c build-depends:- base >= 4.8 && < 5,+ base >= 4.9 && < 5, bytestring >= 0.10.4.0, sdl2 >= 2.2, template-haskell, text >= 1.1.0.0,+ th-abstraction >= 0.4.0.0, transformers >= 0.4 default-language:
src/SDL/Raw/Helper.hs view
@@ -19,6 +19,7 @@ import Control.Monad (replicateM) import Control.Monad.IO.Class (MonadIO, liftIO) import Language.Haskell.TH+import Language.Haskell.TH.Datatype.TyVarBndr (plainTVSpecified) -- | Given a name @fname@, a name of a C function @cname@ and the desired -- Haskell type @ftype@, this function generates:@@ -80,7 +81,7 @@ m <- newName "m" return $ ForallT- [PlainTV m]+ [plainTVSpecified m] [AppT (ConT ''MonadIO) $ VarT m] (AppT (VarT m) t) t -> return t