vala r1771 - in trunk: . gobject
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1771 - in trunk: . gobject
- Date: Tue, 16 Sep 2008 12:14:10 +0000 (UTC)
Author: juergbi
Date: Tue Sep 16 12:14:10 2008
New Revision: 1771
URL: http://svn.gnome.org/viewvc/vala?rev=1771&view=rev
Log:
2008-09-16 JÃrg Billeter <j bitron ch>
* gobject/valaccodeinvocationexpressionbinding.vala:
Support disabling sentinels, patch by Sam Liddicott,
fixes bug 548248
Modified:
trunk/ChangeLog
trunk/gobject/valaccodeinvocationexpressionbinding.vala
Modified: trunk/gobject/valaccodeinvocationexpressionbinding.vala
==============================================================================
--- trunk/gobject/valaccodeinvocationexpressionbinding.vala (original)
+++ trunk/gobject/valaccodeinvocationexpressionbinding.vala Tue Sep 16 12:14:10 2008
@@ -392,7 +392,7 @@
if (ellipsis) {
/* ensure variable argument list ends with NULL
* except when using printf-style arguments */
- if ((m == null || !m.printf_format)) {
+ if (!m.printf_format && m.sentinel != "") {
carg_map.set (codegen.get_param_pos (-1, true), new CCodeConstant (m.sentinel));
}
} else if (itype is DelegateType) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]