Method

GLibPatternSpecequal

Declaration

gboolean
g_pattern_spec_equal (
  GPatternSpec* pspec1,
  GPatternSpec* pspec2
)

Description

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

Parameters

pspec2

Type: GPatternSpec

Another GPatternSpec.

The data is owned by the caller of the function.

Return value

Type: gboolean

Whether the compiled patterns are equal.