Pointers in extern DLL functions
bearophile
bearophileHUGS at lycos.com
Sat Dec 22 14:39:27 PST 2007
Xavi Wrote:
> Oops!, one more thing; I've read this in the manual of D:
> "Undefined behavior: Do not store pointers into non-pointer
> variables using casts and other tricks."
See my point 12 here:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=56267
That idea of mine was meant to avoid such "Oops!" (I'll talk again about that topic in a post in few days).
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list