Commit 6aa9f7de authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

correct return type of get_cheader_filenames

2007-07-17  Juerg Billeter  <j@bitron.ch>

	* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
	  correct return type of get_cheader_filenames

svn path=/trunk/; revision=362
parent 5301e466
2007-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
correct return type of get_cheader_filenames
2007-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaarraylengthfield.vala, vala/valaarrayresizemethod.vala,
......
......@@ -171,7 +171,7 @@ public class Vala.Array : DataType {
*
* @return list of C header filenames for this data type
*/
public override List<string> get_cheader_filenames () {
public override List<weak string> get_cheader_filenames () {
if (element_type != null) {
return element_type.get_cheader_filenames ();
} else {
......
......@@ -218,7 +218,7 @@ public abstract class Vala.DataType : CodeNode {
*
* @return list of C header filenames for this data type
*/
public virtual List<string> get_cheader_filenames () {
public virtual List<weak string> get_cheader_filenames () {
if (cheader_filenames == null) {
/* default to header filenames of the namespace */
foreach (string filename in @namespace.get_cheader_filenames ()) {
......
......@@ -68,7 +68,7 @@ public class Vala.Pointer : DataType {
return null;
}
public override List<string> get_cheader_filenames () {
public override List<weak string> get_cheader_filenames () {
return referent_type.get_cheader_filenames ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment