Re: [ANN] A new implement of Luiz's lmapm module
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] A new implement of Luiz's lmapm module
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2012年4月24日 19:22:33 -0300
> the original binding (from yours) is using static variables, so ...
Right, but it's just
static int DIGITS=0;
static lua_State *LL=NULL;
The first one is does affect separate computations. I was lazy, yes.
But the second one is for error handling only and it should work even
for multiple states because LL is set when a MAPM computation starts,
before control is returned to Lua.