summaryrefslogtreecommitdiff
path: root/vala/valaarray.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-08-30 19:02:06 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-08-30 19:02:06 +0000
commit6accf66c7fabe2db728790a4d80ad087b70fbc12 (patch)
treeb12c442de0e97dc6875a06c0555ad76d900745c4 /vala/valaarray.vala
parentdafce8e1e7191b0efd116dac2810ab7a34412aee (diff)
downloadvala-6accf66c7fabe2db728790a4d80ad087b70fbc12.tar.gz
rename MemberAccessibility to SymbolAccessibility and move its declaration
2007-08-30 Juerg Billeter <j@bitron.ch> * vala/valamemberaccessibility.vala: rename MemberAccessibility to SymbolAccessibility and move its declaration to vala/valasymbol.vala * vala/parser.y: store accessibility modifier for properties and follow the renames caused by the accessibility releated refactoring, cast the Struct allocated in struct_declaration to silence gcc * vala/Makefile.am: remove valamemberaccessibility.* files * vala/valasymbol.vala: add access property found in serveral sub-classes and add is_internal_symbol () method, which considers parent symbols to determinate if a symbol belongs to internal API * gobject/*, vala/*, vapigen/valagidlparser.vala: move the access property/field found in several Symbol derived classes to the Symbol class where it belongs and rename the MemberAccessibility enumeration to SymbolAccessibility * vala/valaformalparameter.vala, vala/valanamespace.vala: set access to public on initialization, as there is no accessibility modifier * gobject/valacodegenerator.vala: do not add internal symbols to header_type_member_declarations * vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol dependencies for internal symbols * gobject/valacodegeneratormethod.vala: consider all anchestors, not just the parent for visibility patch by Mathias Hasselmann, fixes bug 471475 svn path=/trunk/; revision=546
Diffstat (limited to 'vala/valaarray.vala')
-rw-r--r--vala/valaarray.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valaarray.vala b/vala/valaarray.vala
index 5ef035cfe..884581837 100644
--- a/vala/valaarray.vala
+++ b/vala/valaarray.vala
@@ -155,7 +155,7 @@ public class Vala.Array : DataType {
if (length_field == null) {
length_field = new ArrayLengthField (source_reference);
- length_field.access = MemberAccessibility.PUBLIC;
+ length_field.access = SymbolAccessibility.PUBLIC;
var root_symbol = source_reference.file.context.root;
length_field.type_reference = new TypeReference ();
@@ -170,7 +170,7 @@ public class Vala.Array : DataType {
resize_method = new ArrayResizeMethod (source_reference);
resize_method.return_type = new TypeReference ();
- resize_method.access = MemberAccessibility.PUBLIC;
+ resize_method.access = SymbolAccessibility.PUBLIC;
resize_method.set_cname ("g_renew");
@@ -190,7 +190,7 @@ public class Vala.Array : DataType {
move_method = new ArrayMoveMethod (source_reference);
move_method.return_type = new TypeReference ();
- move_method.access = MemberAccessibility.PUBLIC;
+ move_method.access = SymbolAccessibility.PUBLIC;
move_method.set_cname ("_vala_array_move");