+gint tm_query_add_lang(TMQuery *q, TMParserType lang) +{
- g_array_append_val(q->langs, lang);
- return 0;
+}
+/** Set the tag type filter of a query.
- The query results will be restricted to tags match any of the given types.
- You can only set this filter because the @a type is a bitmask containing
- multiple values.
- @param q The query to operate on.
- @param type Bitmasp of the tag time to filter, see @a TMTagType.
Thanks, will correct that.