www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: Pointers in extern DLL functions

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
Dec 22 2007