
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 20 April 2008 15:07 pm, Sebastian Redl wrote:
This is still too simple, unfortunately. Replacing the cleanup function is a good idea, but it's not enough to get around the limitations of this method. I played around with it all day today.
I'm currently trying my next play: I need more data reachable from the exception object, so I'm going to make it reachable. My plan is to let the cleanup function pointer point to a structure whose first bytes contain the code of a function that simply returns. In other words, I hide more data behind the cleanup function. Wish me luck. :-)
I've worked a little more on my version, I think it's fully functional now. It's not particularly efficient, but it seems to work. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIDOAD5vihyNWuA4URAhirAKDpJXOBVbvrez1ggDJ/aL0zMOA69wCg5K94 QLSdLPbfUMx53bfPEjo30V4= =xh9o -----END PGP SIGNATURE-----