On Mon, 2009-03-09 at 20:36 -0400, Yu Feng wrote:
> Dear list,
> 
> Are friend classes available in VALA? If not, are there any particular
> reason against it, and are there any alternatives for friend classes?

There is no plan to support friend classes in Vala. The `internal'
modifier is as close as it gets, it restricts access to the class/member
to the current library/application. If this is not fine-grained enough,
maybe you should consider moving some code into a separate library (can
also be a libtool convenience library in case you're using autotools).

Jürg

_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to