GNOME Bugzilla – Bug 669531
'internal' functions should be decorated with G_GNUC_INTERNAL
Last modified: 2013-12-19 00:11:54 UTC
Vala's 'internal' access specifier allows other classes within the same library to access a function without including it in public headers/VAPI files. GCC (and other compilers) have extensions to potentially make such internal calls more efficient, and also reduce link time by reducing the number of public symbols. GLib provides the G_GNUC_INTERNAL macro for this purpose. Vala should make use of this, i.e. for functions with 'internal' access, valac should place G_GNUC_INTERNAL before the declaration.
Thanks for the bug report. It looks like I've submitted a duplicate (I've marking this bug as one as the discussion/patches happened there) *** This bug has been marked as a duplicate of bug 700157 ***