Thread overview
[D-runtime] object_.d's underscore and a couple other questions
Jan 08, 2014
Mike Franklin
Jan 08, 2014
Martin Nowak
Jan 15, 2014
Sean Kelly
January 08, 2014
Hello,

Just curious, why the underscore object_.d's filename?

Also, why the over-abreviated names like:
TypeInfo_e  // for real
TypeInfo_k  // really? 'k' as in uint?
etc...


I'm guessing there's a good reason, that's why I'm asking.

Thanks,
Mike


January 08, 2014
On 01/08/2014 12:28 PM, Mike Franklin wrote:
> Also, why the over-abreviated names like:
> TypeInfo_e  // for real
> TypeInfo_k  // really? 'k' as in uint?
> etc...
Comes from D's mangling ( http://dlang.org/abi.html) where k is used for uint and e for real.


January 15, 2014
On Jan 8, 2014, at 3:28 AM, Mike Franklin <slavo5150@yahoo.com> wrote:

> Hello,
> 
> Just curious, why the underscore object_.d's filename?

Because DMD implicitly imports the “object” module when compiling anything, and depending on the build setup this sometimes meant that object.d was being referenced rather than object.di, which caused a few weird problems.
_______________________________________________
D-runtime mailing list
D-runtime@puremagic.com
http://lists.puremagic.com/mailman/listinfo/d-runtime