gi-glib-2.0.17: GLib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.PatternSpec

Contents

Description

A GPatternSpec struct is the 'compiled' form of a pattern. This structure is opaque and its fields cannot be accessed directly.

Synopsis

Exported types

Methods

equal

patternSpecEqual Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PatternSpec

pspec1: a PatternSpec

-> PatternSpec

pspec2: another PatternSpec

-> m Bool

Returns: Whether the compiled patterns are equal

Compares two compiled pattern specs and returns whether they will match the same set of strings.

free

patternSpecFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PatternSpec

pspec: a PatternSpec

-> m () 

Frees the memory allocated for the PatternSpec.