Re: lua-factory: the analysis of the changes proposed in #753141



On Thu, 2015-10-29 at 22:40 +0100, Victor Toso wrote:
2. The async methods like grl.fetch can't work without OS, even
though
they don't require them directly. So you can't fetch anything
during
e.g. grl_source_init()

Agreed. Bad design.

Why would you fetch something in the source init? You wouldn't do that
for a C plugin, I don't see why you would in a Lua source...

As for the rest of the API changes. I don't mind the internal changes,
but I'd really like to keep the API changes, and thus the changes to be
made in the plugins to a minimum.

(I'm not really swayed by one-liner callbacks which don't do any error
checking for example...)

Cheers


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