Determine the "type" of a delegate
Peter Alexander
peter.alexander.au at gmail.com
Mon Mar 28 14:54:07 PDT 2011
On 28/03/11 8:47 PM, teo wrote:
> I tried to find a solution, but since I don't exactly know the anatomy of
> the class object it is not an easy task. Is there any info on how the
> class object is laid out in memory? Basically I casted the pointer to an
> Object and then dumped the first 64 bytes looking for hints.
The D ABI is described here: http://digitalmars.com/d/2.0/abi.html
It describes the class layout.
More information about the Digitalmars-d
mailing list