Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes a third party origin.
Since: 2.30
Synopsis
- newtype ITPThirdParty = ITPThirdParty (ManagedPtr ITPThirdParty)
- iTPThirdPartyGetDomain :: (HasCallStack, MonadIO m) => ITPThirdParty -> m Text
- iTPThirdPartyGetFirstParties :: (HasCallStack, MonadIO m) => ITPThirdParty -> m [ITPFirstParty]
- iTPThirdPartyRef :: (HasCallStack, MonadIO m) => ITPThirdParty -> m ITPThirdParty
- iTPThirdPartyUnref :: (HasCallStack, MonadIO m) => ITPThirdParty -> m ()
Exported types
newtype ITPThirdParty Source #
Memory-managed wrapper type.
ITPThirdParty (ManagedPtr ITPThirdParty) |
Instances
Eq ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty (==) :: ITPThirdParty -> ITPThirdParty -> Bool # (/=) :: ITPThirdParty -> ITPThirdParty -> Bool # | |
GBoxed ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty | |
ManagedPtrNewtype ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty toManagedPtr :: ITPThirdParty -> ManagedPtr ITPThirdParty | |
TypedObject ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty | |
HasParentTypes ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty | |
IsGValue (Maybe ITPThirdParty) Source # | Convert |
Defined in GI.WebKit2.Structs.ITPThirdParty gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ITPThirdParty -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ITPThirdParty) | |
type ParentTypes ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty |
Methods
Click to display all available methods, including inherited ones
getDomain
iTPThirdPartyGetDomain Source #
:: (HasCallStack, MonadIO m) | |
=> ITPThirdParty |
|
-> m Text | Returns: the domain name |
Get the domain name of itpThirdParty
.
Since: 2.30
getFirstParties
iTPThirdPartyGetFirstParties Source #
:: (HasCallStack, MonadIO m) | |
=> ITPThirdParty |
|
-> m [ITPFirstParty] | Returns: a |
Get the list of ITPFirstParty
under which itpThirdParty
has been seen.
Since: 2.30
ref
:: (HasCallStack, MonadIO m) | |
=> ITPThirdParty |
|
-> m ITPThirdParty | Returns: The passed |
Atomically increments the reference count of itpThirdParty
by one.
This function is MT-safe and may be called from any thread.
Since: 2.30
unref
:: (HasCallStack, MonadIO m) | |
=> ITPThirdParty |
|
-> m () |
Atomically decrements the reference count of itpThirdParty
by one.
If the reference count drops to 0, all memory allocated by
ITPThirdParty
is released. This function is MT-safe and may be
called from any thread.
Since: 2.30