From: Juerg Billeter Date: Wed, 25 Jul 2007 21:16:30 +0000 (+0000) Subject: remove comments of overridden methods X-Git-Tag: VALA_0_1_2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4633948534bf0059828fc82e9552d54fb90207b;p=thirdparty%2Fvala.git remove comments of overridden methods 2007-07-25 Juerg Billeter * vala/valaarray.vala: remove comments of overridden methods svn path=/trunk/; revision=388 --- diff --git a/ChangeLog b/ChangeLog index 0ab318f61..3c0345203 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-07-25 Jürg Billeter + + * vala/valaarray.vala: remove comments of overridden methods + 2007-07-25 Jürg Billeter * vala/valainvokable.vala, vala/valamemorymanager.vala, diff --git a/vala/valaarray.vala b/vala/valaarray.vala index 8df61ddca..116074a41 100644 --- a/vala/valaarray.vala +++ b/vala/valaarray.vala @@ -89,12 +89,7 @@ public class Vala.Array : DataType { } name = "%s]".printf (name); } - - /** - * Returns the name of this data type as it is used in C code. - * - * @return the name to be used in C code - */ + public override string get_cname (bool const_type = false) { if (cname == null) { if (element_type != null) { @@ -110,61 +105,23 @@ public class Vala.Array : DataType { return cname; } - - /** - * Checks whether this data type has value or reference type semantics. - * - * @return true if this data type has reference type semantics - */ + public override bool is_reference_type () { return true; } - - /** - * Returns the C name of this data type in upper case. Words are - * separated by underscores. The upper case C name of the namespace is - * prefix of the result. - * - * @param infix a string to be placed between namespace and data type - * name or null - * @return the upper case name to be used in C code - */ + public override string get_upper_case_cname (string infix) { return null; } - - /** - * Returns the C name of this data type in lower case. Words are - * separated by underscores. The lower case C name of the namespace is - * prefix of the result. - * - * @param infix a string to be placed between namespace and data type - * name or null - * @return the lower case name to be used in C code - */ + public override string get_lower_case_cname (string infix) { return null; } - - /** - * Returns the C function name that frees instances of this data type. - * This is only valid for data types with reference type semantics that - * do not support reference counting. The specified C function must - * accept one argument pointing to the instance to be freed. - * - * @return the name of the C function or null if this data type is not a - * reference type or if it supports reference counting - */ + public override string get_free_function () { return "g_free"; } - - /** - * Returns a list of C header filenames users of this data type must - * include. - * - * @return list of C header filenames for this data type - */ + public override List get_cheader_filenames () { if (element_type != null) { return element_type.get_cheader_filenames (); @@ -172,7 +129,7 @@ public class Vala.Array : DataType { return null; } } - + public override string get_marshaller_type_name () { return "POINTER"; }