GLib.PatternSpec¶
Fields¶
None
Details¶
-
class
GLib.
PatternSpec
¶ A
GLib.PatternSpec
struct is the ‘compiled’ form of a pattern. This structure is opaque and its fields cannot be accessed directly.-
equal
(pspec2)[source]¶ Parameters: pspec2 ( GLib.PatternSpec
) – anotherGLib.PatternSpec
Returns: Whether the compiled patterns are equal Return type: bool
Compares two compiled pattern specs and returns whether they will match the same set of strings.
-
free
()[source]¶ Frees the memory allocated for the
GLib.PatternSpec
.
-