On Thu, Feb 23, 2012 at 01:51:31PM +0200, Manu wrote: [...] > I wonder if there are alternative ways to detect a foreign stack. And > I'm not sure why it even matters, you can't depend on the extern ABI, > how do you unwind the stack reliably in the first place? [...]
This is a bit off-topic, but what happens in the current implementation if you pass a D callback to a C function, and then throw an exception from the callback? Does it work? Or does it do something really nasty? T -- Elegant or ugly code as well as fine or rude sentences have something in common: they don't depend on the language. -- Luca De Vitis