- else
s = g_string_new_len(name, name_len);
- g_ptr_array_add(q->names, s);
- return 0;
+}
+/* Add scope filter to a query
- The query results will be restricted to tags that are subordenates of
- a container scope matching @a scope, for example a C++ class.
- @param q The query to operate on.
- @param scope The name of the container or parent scope.
Cool, that's a good thing. It might be useful to document that here even if it's not unique to this function. Also `s/subordenates/subordinates/` or could reword it like "...tags which are scoped within the given 'scope'".