Method

GLibRegexref

Declaration

GRegex*
g_regex_ref (
  GRegex* regex
)

Description

Increases reference count of regex by 1.

Available since:2.14

Return value

Type: GRegex

regex.

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