Juergen Boemmels <[EMAIL PROTECTED]> wrote:Hi,
I'm just wondering how I should raise an exception inside a vtable function. I found the function real_exception, but I don't know what to put into the *dest argument.
If the vtable method doesn't have a 'void* next' opcode_t ptr, then you put NULL inside (the exception isn't resumable then). In vtables like invoke, where the next opcode_t* is passed in next, you can pass on this ptr, the exception will be resumable then.
This should generally be the default, FWIW. Very few C-thrown exceptions should be resumable.
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk