> }
> }
>
> +/** Gets the GBoxed-derived GType for TMSourceFile
> + *
> + * @return TMSourceFile type . */
> +GEANY_API_SYMBOL
> +GType tm_source_file_get_type(void);
```gcc
../../../tagmanager/src/tm_source_file.c:272:7: warning: redundant
redeclaration of 'tm_source_file_get_type' [-Wredundant-decls]
GType tm_source_file_get_type(void);
^
In file included from ../../../tagmanager/src/tm_source_file.c:35:0:
../../../tagmanager/src/tm_source_file.h:48:7: note: previous declaration of
'tm_source_file_get_type' was here
GType tm_source_file_get_type(void);
^
```
but I guess we don't care. Alternatively we could just rely on the fact
`G_DEFINE_BOXED_TYPE` only expands to a function definition so attributes could
come right before, but this is likely to be fragile as it's not documented
explicitly.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/839/files#r50760586