Method

GLibPatternSpeccopy

since: 2.70

Declaration [src]

GPatternSpec*
g_pattern_spec_copy (
  GPatternSpec* pspec
)

Description [src]

Copies pspec in a new GPatternSpec.

Available since: 2.70

Return value

Type: GPatternSpec

A copy of pspec.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.