or null if no mime types are found. The returned array must be freed with [glib.global.strfreev].
Language.getMimeTypes
string[] getMimeTypes()Returns the mime types associated to this language. This is just an utility wrapper around [gtksource.language.Language.getMetadata] to retrieve the "mimetypes" metadata property and split it into an array.
Returns
a newly-allocated null terminated array containing the mime types