Re: [Vala] Commit that breaks MarkupParseContext

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.

On Tue, Jan 26, 2010 at 2:47 PM, Sandino Flores Moreno <tigrux gmail com> wrote:

There was a change that breaks the normal usage of the MarkupParseContext.

The url for that commit is:

The problem, is that now it does not allow methods to be used as
callbacks, and it also introduces
 the parameter void * userdata that is not needed at all.

For example, this class implements a markup parser that dumps to a KeyFile:

That class parses markup files like the next one:

It was working fine before that commit. But now it does not compile.

Please. revert that commit.

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