Nice move :) Like the idea of embeddable pike
Marcus Agehall (PacketFront) @ Pike (-) developers forum wrote:
What do I need to think of when using those functions? I've started to reorganize main.c a bit to make the main function a bit more modular.
The goal for the whole thing is to make pike embeddable. The first step is to make the main function a bit more modular so that another application can setup a master and execute pike-code using a couple of functions from main.c.
/ Marcus Agehall (PacketFront)
Previous text:
2004-10-15 14:16: Subject: longjmps in pike
While looking at the code in dbg_main(), I saw that pike uses longjmps. I suspect the use for this is the exception handling stuff. Am I on the right track?
More or less. {set,long}jmp(3C) are used to implement catch/throw.
Can someone elaborate a bit on the usage as to where it is used in pike and how things are supposed to interact..?
What's to say? Look in pike_error.h for details.
/ Henrik Grubbström (Lysator)