| 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 |
GI.WebKit2.Structs.ITPThirdParty
Description
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.
Constructors
| ITPThirdParty (ManagedPtr ITPThirdParty) |
Instances
| Eq ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty Methods (==) :: ITPThirdParty -> ITPThirdParty -> Bool # (/=) :: ITPThirdParty -> ITPThirdParty -> Bool # | |
| GBoxed ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty | |
| ManagedPtrNewtype ITPThirdParty Source # | |
Defined in GI.WebKit2.Structs.ITPThirdParty Methods 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 Methods 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 #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ITPThirdParty |
|
| -> m Text | Returns: the domain name |
Get the domain name of itpThirdParty.
Since: 2.30
getFirstParties
iTPThirdPartyGetFirstParties Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => ITPThirdParty |
|
| -> m [ITPFirstParty] | Returns: a |
Get the list of ITPFirstParty under which itpThirdParty has been seen.
Since: 2.30
ref
Arguments
| :: (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
Arguments
| :: (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