On Apr 15, 2008, at 1:09 PM, tim Rowledge wrote:
On 15-Apr-08, at 1:05 PM, Ian Piumarta wrote:
On Apr 15, 2008, at 12:41 PM, Andreas Raab wrote:
I think only Ian knows what "this stupidity" is.
Casting a function pointer to a void * is not guaranteed to yield a pointer with the same address, nor does casting it back. The stupidity was the (imposed?) use void * where a pointer to function was required.
So what ought to be there is...... ?
returnType (*functionName)(arg1type, arg2type, ..., argNtype)
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim C++ is history repeated as tragedy. Java is history repeated as farce.