rpc exception

Ove Kaaven ovek at arcticnet.no
Mon May 5 19:28:58 CDT 2003


tir, 06.05.2003 kl. 01.01 skrev Alexandre Julliard:
> Ove Kaaven <ovek at arcticnet.no> writes:
> 
> > Hmm. That could be solved by making the try block a nested function too,
> > but I suppose that would bring some overhead...
> 
> Even ignoring the overhead, I can't think of a way to declare that
> function with the right return type. But maybe I missed something...

Hmm, true. I thought it might be possible to do some magic like
typeof(func()), but then you'd need to know the name of the function,
and I can't seem to find a gcc builtin that'll retrieve a reference to
the current function (or its return type). Anyone else have any ideas?
(No, __FUNCTION__ is a string, so it's no good.)





More information about the wine-devel mailing list