Hey Pau,

2008/6/18 Pau Garcia i Quiles <[EMAIL PROTECTED]>:
> Hello,
>
> Is it possible to implement statelessly methods which do return a
> value? AFAIK, WObject::implementStateless only accepts void methods

Also the WSignal classes only accept void returning methods as valid
slots, so that is an even more general limitation?

I think it is currently a limitation, at least if it is always
possible to ignore the return value (i.e. can you safely cast an 'int
foo()' function pointer to a 'void foo()' function pointer?). We need
to investigate that first before we can remove this limiation.

Regards,
koen

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to