SourceLanguage.getGlobs

Returns the globs associated to this language. This is just an utility wrapper around Source.languageGetMetadata to retrieve the "globs" metadata property and split it into an array.

class SourceLanguage
string[]
getGlobs
()

Return Value

Type: string[]

a newly-allocated NULL terminated array containing the globs or NULL if no globs are found. The returned array must be freed with g_strfreev().