packages feed

gi-javascriptcore 0.2.10.12 → 0.2.10.13

raw patch · 6 files changed

+36/−4 lines, 6 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.JavaScriptCore.Structs.GlobalContext: instance (info Data.Type.Equality.~ GI.JavaScriptCore.Structs.GlobalContext.ResolveGlobalContextMethod t GI.JavaScriptCore.Structs.GlobalContext.GlobalContext, Data.GI.Base.Overloading.MethodInfo info GI.JavaScriptCore.Structs.GlobalContext.GlobalContext p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.JavaScriptCore.Structs.GlobalContext.GlobalContext -> p)
+ GI.JavaScriptCore.Structs.GlobalContext: instance (info Data.Type.Equality.~ GI.JavaScriptCore.Structs.GlobalContext.ResolveGlobalContextMethod t GI.JavaScriptCore.Structs.GlobalContext.GlobalContext, Data.GI.Base.Overloading.MethodInfo info GI.JavaScriptCore.Structs.GlobalContext.GlobalContext p) => GHC.OverloadedLabels.IsLabel t (GI.JavaScriptCore.Structs.GlobalContext.GlobalContext -> p)
+ GI.JavaScriptCore.Structs.Value: instance (info Data.Type.Equality.~ GI.JavaScriptCore.Structs.Value.ResolveValueMethod t GI.JavaScriptCore.Structs.Value.Value, Data.GI.Base.Overloading.MethodInfo info GI.JavaScriptCore.Structs.Value.Value p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.JavaScriptCore.Structs.Value.Value -> p)
+ GI.JavaScriptCore.Structs.Value: instance (info Data.Type.Equality.~ GI.JavaScriptCore.Structs.Value.ResolveValueMethod t GI.JavaScriptCore.Structs.Value.Value, Data.GI.Base.Overloading.MethodInfo info GI.JavaScriptCore.Structs.Value.Value p) => GHC.OverloadedLabels.IsLabel t (GI.JavaScriptCore.Structs.Value.Value -> p)

Files

GI/JavaScriptCore.hs view
@@ -1,4 +1,5 @@ + {- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte License    : LGPL-2.1@@ -10,6 +11,10 @@     module GI.JavaScriptCore.Structs        ,  ++    module Data.GI.Base                     ,++     ) where  import GI.JavaScriptCore.Callbacks@@ -25,4 +30,5 @@ import GI.JavaScriptCore.Types import GI.JavaScriptCore.Callbacks +import Data.GI.Base 
GI/JavaScriptCore/Callbacks.hs view
@@ -1,4 +1,5 @@ + {- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte License    : LGPL-2.1
GI/JavaScriptCore/Structs.hs view
@@ -1,4 +1,5 @@ + {- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte License    : LGPL-2.1
GI/JavaScriptCore/Structs/GlobalContext.hs view
@@ -1,4 +1,5 @@ + {- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte License    : LGPL-2.1@@ -28,5 +29,16 @@ newtype GlobalContext = GlobalContext (ForeignPtr GlobalContext) noGlobalContext :: Maybe GlobalContext noGlobalContext = Nothing++type family ResolveGlobalContextMethod (t :: Symbol) (o :: *) :: * where+    ResolveGlobalContextMethod l o = MethodResolutionFailed l o++instance (info ~ ResolveGlobalContextMethod t GlobalContext, MethodInfo info GlobalContext p) => IsLabelProxy t (GlobalContext -> p) where+    fromLabelProxy _ = overloadedMethod (MethodProxy :: MethodProxy info)++#if MIN_VERSION_base(4,9,0)+instance (info ~ ResolveGlobalContextMethod t GlobalContext, MethodInfo info GlobalContext p) => IsLabel t (GlobalContext -> p) where+    fromLabel _ = overloadedMethod (MethodProxy :: MethodProxy info)+#endif  
GI/JavaScriptCore/Structs/Value.hs view
@@ -1,4 +1,5 @@ + {- | Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte License    : LGPL-2.1@@ -28,5 +29,16 @@ newtype Value = Value (ForeignPtr Value) noValue :: Maybe Value noValue = Nothing++type family ResolveValueMethod (t :: Symbol) (o :: *) :: * where+    ResolveValueMethod l o = MethodResolutionFailed l o++instance (info ~ ResolveValueMethod t Value, MethodInfo info Value p) => IsLabelProxy t (Value -> p) where+    fromLabelProxy _ = overloadedMethod (MethodProxy :: MethodProxy info)++#if MIN_VERSION_base(4,9,0)+instance (info ~ ResolveValueMethod t Value, MethodInfo info Value p) => IsLabel t (Value -> p) where+    fromLabel _ = overloadedMethod (MethodProxy :: MethodProxy info)+#endif  
gi-javascriptcore.cabal view
@@ -1,6 +1,6 @@ -- Autogenerated, do not edit. name:               gi-javascriptcore-version:            0.2.10.12+version:            0.2.10.13 synopsis:           JavaScriptCore bindings description:        Bindings for JavaScriptCore, autogenerated by haskell-gi. homepage:           https://github.com/haskell-gi/haskell-gi@@ -14,8 +14,8 @@  library     default-language:   Haskell2010-    default-extensions: OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts-    other-extensions:   PatternSynonyms ScopedTypeVariables, ViewPatterns+    default-extensions: ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts+    other-extensions:   PatternSynonyms ViewPatterns     ghc-options:        -fno-warn-unused-imports -fno-warn-warnings-deprecations     exposed-modules:    GI.JavaScriptCore.Types                         GI.JavaScriptCore@@ -25,7 +25,7 @@                         GI.JavaScriptCore.Structs.Value     pkgconfig-depends:  javascriptcoregtk-4.0 >= 2.10     build-depends: base >= 4.7 && <5,-        haskell-gi-base >= 0.12 && < 1,+        haskell-gi-base >= 0.13 && < 1,         bytestring >= 0.10,         containers >= 0.5,         text >= 1.0,