[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: clumsiness of pcall() syntax and how we deal with it
- From: Paul K <paul@...>
- Date: Tue, 28 Apr 2015 21:30:53 +0000
On Tue, Apr 28, 2015 at 2:27 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On Tue, Apr 28, 2015 at 2:51 PM, Paul K <paul@zerobrane.com> wrote:
>> | function appendud(tab, ud)
>> | tab:beginupdate() finalize tab:endupdate() end
>> | ud:lock() finalize ud:unlock() end
>> | for i = 1,#ud do
>> | tab[#tab+1] = ud[i]
>> | end
>> | end
> is this Lua?
Yes, with the finalize/guard patch applied.
Paul.