Re: [Vala] Friend class?
- From: Yu Feng <rainwoodman gmail com>
- To: Jürg Billeter <j bitron ch>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Friend class?
- Date: Tue, 10 Mar 2009 23:10:25 -0400
On Tue, 2009-03-10 at 08:07 +0100, Jürg Billeter wrote:
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).
Can a property setting be internal? I tried to added to a setter and
apparently nothing happened.
Regards,
Yu
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]