gi-cairo 0.1.14.14 → 0.1.14.15
raw patch · 9 files changed
+30/−2 lines, 9 filesdep ~haskell-gi-basePVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
Dependency ranges changed: haskell-gi-base
API changes (from Hackage documentation)
+ GI.Cairo.Structs.FontOptions: instance WrappedPtr FontOptions
+ GI.Cairo.Structs.FontType: instance WrappedPtr FontType
+ GI.Cairo.Structs.Matrix: instance WrappedPtr Matrix
+ GI.Cairo.Structs.Path: instance WrappedPtr Path
Files
- GI/Cairo/Structs/FontOptions.hs +6/−0
- GI/Cairo/Structs/FontOptions.hs-boot +1/−0
- GI/Cairo/Structs/FontType.hs +6/−0
- GI/Cairo/Structs/FontType.hs-boot +1/−0
- GI/Cairo/Structs/Matrix.hs +6/−0
- GI/Cairo/Structs/Matrix.hs-boot +1/−0
- GI/Cairo/Structs/Path.hs +6/−0
- GI/Cairo/Structs/Path.hs-boot +1/−0
- gi-cairo.cabal +2/−2
GI/Cairo/Structs/FontOptions.hs view
@@ -27,6 +27,12 @@ import GI.Cairo.Callbacks newtype FontOptions = FontOptions (ForeignPtr FontOptions)+-- XXX Wrapping a foreign struct/union with no known destructor or size, leak?+instance WrappedPtr FontOptions where+ wrappedPtrCalloc = return nullPtr+ wrappedPtrCopy = return+ wrappedPtrFree = Nothing+ noFontOptions :: Maybe FontOptions noFontOptions = Nothing
GI/Cairo/Structs/FontOptions.hs-boot view
@@ -8,3 +8,4 @@ import qualified Data.Map as Map newtype FontOptions = FontOptions (ForeignPtr FontOptions)+instance WrappedPtr FontOptions where
GI/Cairo/Structs/FontType.hs view
@@ -27,6 +27,12 @@ import GI.Cairo.Callbacks newtype FontType = FontType (ForeignPtr FontType)+-- XXX Wrapping a foreign struct/union with no known destructor or size, leak?+instance WrappedPtr FontType where+ wrappedPtrCalloc = return nullPtr+ wrappedPtrCopy = return+ wrappedPtrFree = Nothing+ noFontType :: Maybe FontType noFontType = Nothing
GI/Cairo/Structs/FontType.hs-boot view
@@ -8,3 +8,4 @@ import qualified Data.Map as Map newtype FontType = FontType (ForeignPtr FontType)+instance WrappedPtr FontType where
GI/Cairo/Structs/Matrix.hs view
@@ -27,6 +27,12 @@ import GI.Cairo.Callbacks newtype Matrix = Matrix (ForeignPtr Matrix)+-- XXX Wrapping a foreign struct/union with no known destructor or size, leak?+instance WrappedPtr Matrix where+ wrappedPtrCalloc = return nullPtr+ wrappedPtrCopy = return+ wrappedPtrFree = Nothing+ noMatrix :: Maybe Matrix noMatrix = Nothing
GI/Cairo/Structs/Matrix.hs-boot view
@@ -8,3 +8,4 @@ import qualified Data.Map as Map newtype Matrix = Matrix (ForeignPtr Matrix)+instance WrappedPtr Matrix where
GI/Cairo/Structs/Path.hs view
@@ -27,6 +27,12 @@ import GI.Cairo.Callbacks newtype Path = Path (ForeignPtr Path)+-- XXX Wrapping a foreign struct/union with no known destructor or size, leak?+instance WrappedPtr Path where+ wrappedPtrCalloc = return nullPtr+ wrappedPtrCopy = return+ wrappedPtrFree = Nothing+ noPath :: Maybe Path noPath = Nothing
GI/Cairo/Structs/Path.hs-boot view
@@ -8,3 +8,4 @@ import qualified Data.Map as Map newtype Path = Path (ForeignPtr Path)+instance WrappedPtr Path where
gi-cairo.cabal view
@@ -1,6 +1,6 @@ -- Autogenerated, do not edit. name: gi-cairo-version: 0.1.14.14+version: 0.1.14.15 synopsis: cairo bindings description: Bindings for cairo, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -36,7 +36,7 @@ GI.Cairo.Structs.Surface pkgconfig-depends: cairo-gobject >= 1.14 build-depends: base >= 4.7 && <5,- haskell-gi-base >= 0.14 && < 1,+ haskell-gi-base >= 0.15 && < 1, bytestring >= 0.10, containers >= 0.5, text >= 1.0,