[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Eval a Lua expression
- From: Enrico Colombini <erix@...>
- Date: Wed, 02 Apr 2008 23:19:41 +0200
Eugen-Andrei Gavriloaie wrote:
3. I think the entire script will be executed entirely on each
lua_evaluate_expression because of lua_pcall(L,0,1,0). This is not
acceptable because I want to use this approach on other occasions. Here
is ok, because we have to deal with a configuration file, but I will
definitively have to deal with other types of Lua scripts that are not
supposed to run over and over again. Am I right?
If I understood correctly what you are looking for, have a look at the
"Generic call function" in PiL2 (25.4).