get_globs


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[]? get_globs ()

Returns the globs associated to this language.

This is just an utility wrapper around get_metadata to retrieve the "globs" metadata property and split it into an array.

Parameters:

this

a SourceLanguage.

Returns:

a newly-allocated null terminated array containing the globs or null if no globs are found. The returned array must be freed with strfreev.