lua-users home
lua-l archive

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

> Does anyone have a suggestion for how to escape efficiently from a 
> running lua function ?

One option is to remove the assignment

  const lua_Hook linehook = L->linehook;

from the interpreter, and use 'L->linehook' instead of linehook. (Probably
you will pay a small performance price.)

-- Roberto