Two solutions to the hooks problem in lua.c

To make it work you can do: The first solution will deactivate the trapping of "Ctrl-C" while the second one will make it coexist with previous hooks settings.

In the last case, the two lua_??Function variables will be used to save the pair of hooks in use when the interruption was made. Then, a new pair of hooks is used to make the interpreter stops at a safe point. When the first of these new hooks are reached, the original ones are restored.

Last modification: 02/sep/1998 by Tomás