| 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.UserContentFilter
Description
A compiled set of rules which applied to resource loads.
Since: 2.24
Synopsis
- newtype UserContentFilter = UserContentFilter (ManagedPtr UserContentFilter)
- userContentFilterGetIdentifier :: (HasCallStack, MonadIO m) => UserContentFilter -> m Text
- userContentFilterRef :: (HasCallStack, MonadIO m) => UserContentFilter -> m UserContentFilter
- userContentFilterUnref :: (HasCallStack, MonadIO m) => UserContentFilter -> m ()
Exported types
newtype UserContentFilter Source #
Memory-managed wrapper type.
Constructors
| UserContentFilter (ManagedPtr UserContentFilter) |
Instances
Methods
Click to display all available methods, including inherited ones
getIdentifier
userContentFilterGetIdentifier Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UserContentFilter |
|
| -> m Text | Returns: the identifier for the filter |
Obtain the identifier previously used to save the userContentFilter.
Obtain the identifier previously used to save the userContentFilter in the
UserContentFilterStore.
Since: 2.24
ref
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UserContentFilter |
|
| -> m UserContentFilter | Returns: the |
Atomically increments the reference count of userContentFilter by one.
This function is MT-safe and may be called from any thread.
Since: 2.24
unref
userContentFilterUnref Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => UserContentFilter |
|
| -> m () |
Atomically decrements the reference count of userContentFilter by one.
If the reference count drops to 0, all the memory allocated by the
UserContentFilter is released. This function is MT-safe and may
be called from any thread.
Since: 2.24