<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 17, 2010, at 1:56 PM, M Joonas Pihlaja wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Wed, 17 Feb 2010, ecir hana wrote:<br><br><blockquote type="cite">or even better:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">cairo_set_source_native_channels(cairo_t *cr, ...);<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">No?<br></blockquote><br>No. Varargs are the bane of any language binding.<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><br></div><div>And I go as far as to say that for most any other uses varargs are quite evil and far to often wander off into bug-land. Most often this is due to varargs being used in place of taking the time to understand a whole problem and architecting a proper solution. There are exceptions, of course, but those really need to be well thought out.</div></body></html>