canonicalize_identifier


Description:


[ Version ( since = "2.4" ) ]
public string canonicalize_identifier (string identifier)

Turns any input string into a canonicalized string.

Canonical identifiers are e.g. expected by the PDB for procedure and parameter names. Every character of the input string that is not either '-', 'a-z', 'A-Z' or '0-9' will be replaced by a '-'.

Parameters:

identifier

The identifier string to canonicalize.

Returns:

The canonicalized identifier. This is a newly allocated string that should be freed with g_free when no longer needed.


Namespace: Gimp
Package: gimp-3.0