Re: [Vala] Commit that breaks MarkupParseContext

Michael 'Mickey' Lauer píše v Út 26. 01. 2010 v 23:24 +0100:
Am Dienstag, den 26.01.2010, 15:48 -0600 schrieb Sandino Flores Moreno:
The next URL has the testcase:

It demonstrates that using methods as callbacks
with MarkupParser is possible without introducing
strange parameters neither restricting the methods to be static.

It's the same parser I had written in Genie, just simplified and
translated to vala.

Thanks for this example. This indeed convinces me to toss a vote for the
revert -- sorry Jiří. In this case I prefer usability over theoretical

Theoretical correctness aside, any other use case leads to broken C
code, which is far from my definition of usability. I have no problem
with the old way, *in case* it gets properly addressed in the
documentation *and* as a comment in the VAPI. There is nothing more
annoying that bindings that require undocumented magic to work. 

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]