vala r1218 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1218 - in trunk: . gobject
- Date: Sun, 13 Apr 2008 21:28:51 +0100 (BST)
Author: juergbi
Date: Sun Apr 13 21:28:51 2008
New Revision: 1218
URL: http://svn.gnome.org/viewvc/vala?rev=1218&view=rev
Log:
2008-04-13 Juerg Billeter <j bitron ch>
* gobject/valaccodegeneratormethod.vala: remove warning about
unsupported return types for runtime type checks, we intend to
use out parameters instead of return values for structs in
generated C code in future versions
Modified:
trunk/ChangeLog
trunk/gobject/valaccodegeneratormethod.vala
Modified: trunk/gobject/valaccodegeneratormethod.vala
==============================================================================
--- trunk/gobject/valaccodegeneratormethod.vala (original)
+++ trunk/gobject/valaccodegeneratormethod.vala Sun Apr 13 21:28:51 2008
@@ -680,7 +680,6 @@
if (cdefault != null) {
ccheck.add_argument (cdefault);
} else {
- Report.warning (method_node.source_reference, "not supported return type for runtime type checks");
return new CCodeExpressionStatement (new CCodeConstant ("0"));
}
}
@@ -703,7 +702,6 @@
if (cdefault != null) {
ccheck.add_argument (cdefault);
} else {
- Report.warning (method_node.source_reference, "not supported return type for runtime type checks");
return new CCodeExpressionStatement (new CCodeConstant ("0"));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]