[Vm-dev] Better type than void* for primitiveFunctionPointer?

tim Rowledge tim at rowledge.org
Tue Apr 15 20:09:17 UTC 2008

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...... ?

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
C++ is history repeated as tragedy. Java is history repeated as farce.

More information about the Vm-dev mailing list