Method

GLibPatternSpeccopy

since: 2.70

Declaration

GPatternSpec*
g_pattern_spec_copy (
  GPatternSpec* pspec
)

Description

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 data, and is responsible for freeing it.