Thread overview | |||||
---|---|---|---|---|---|
|
January 08, 2014 [D-runtime] object_.d's underscore and a couple other questions | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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 Re: [D-runtime] object_.d's underscore and a couple other questions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Franklin Attachments:
| 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 Re: [D-runtime] object_.d's underscore and a couple other questions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Franklin | 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 |
Copyright © 1999-2021 by the D Language Foundation