GLib.pattern_match_simple (original) (raw)

GLib

API Version: 2.0

Library Version: 2.85.0

Functions

Function

GLibpattern_match_simple

Declaration [src]


gboolean
g_pattern_match_simple (
  const gchar* pattern,
  const gchar* string
)

Parameters

pattern

Type: const gchar*

The UTF-8 encoded pattern.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

string

Type: const gchar*

The UTF-8 encoded string to match.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if string matches pspec.