get size of function

Simon s.d.hammett at gmail.com
Tue Aug 30 10:18:12 PDT 2011


On 30/08/2011 16:50, maarten van damme wrote:
> I'm playing around with writing memory to other processes and now I want
> to write a whole function to the other processes memory. The problem is
> that function.sizeof always returns 4. Is there a way to get the actual
> size?

The short answer is no.

You might find something useful in DDL:

http://www.dsource.org/projects/ddl

Though that looks like it hasn't been updated in ages.

-- 
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


More information about the Digitalmars-d-learn mailing list