| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
|
December 08, 2014 std.stdint seems to be an outcast? | ||||
|---|---|---|---|---|
| ||||
There is a module called std.stdint located here: http://dlang.org/phobos/std_stdint.html but it doesn't appear in the documentation index here: http://dlang.org/phobos/index.html Not only that but when looking at the source it's just publicly importing core.stdc.stdint. What's the deal here? Is this a supported module? Should it appear in the doc index? | ||||
December 08, 2014 Re: std.stdint seems to be an outcast? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Monday, 8 December 2014 at 17:21:00 UTC, Gary Willoughby wrote:
> There is a module called std.stdint located here:
>
> http://dlang.org/phobos/std_stdint.html
>
> but it doesn't appear in the documentation index here:
>
> http://dlang.org/phobos/index.html
>
> Not only that but when looking at the source it's just publicly importing core.stdc.stdint.
>
> What's the deal here? Is this a supported module? Should it appear in the doc index?
I think it's a leftover from D's earlier days, but don't quote me on that.
| |||
December 08, 2014 Re: std.stdint seems to be an outcast? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On 2014-12-08 18:20, Gary Willoughby wrote: > There is a module called std.stdint located here: > > http://dlang.org/phobos/std_stdint.html > > but it doesn't appear in the documentation index here: > > http://dlang.org/phobos/index.html > > Not only that but when looking at the source it's just publicly > importing core.stdc.stdint. > > What's the deal here? Is this a supported module? Should it appear in > the doc index? A deprecated module perhaps. -- /Jacob Carlborg | |||
December 09, 2014 Re: std.stdint seems to be an outcast? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Monday, 8 December 2014 at 17:21:00 UTC, Gary Willoughby wrote:
> There is a module called std.stdint located here:
>
> http://dlang.org/phobos/std_stdint.html
>
> but it doesn't appear in the documentation index here:
>
> http://dlang.org/phobos/index.html
>
> Not only that but when looking at the source it's just publicly importing core.stdc.stdint.
>
> What's the deal here? Is this a supported module? Should it appear in the doc index?
It was probably something that used to exist in phobos but was moved to druntime, so the std one was left as an alias of sorts to the core one (but undocumented so people don't use it in the future).
| |||
December 13, 2014 Re: std.stdint seems to be an outcast? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | "Gary Willoughby" <dev@nomad.so> writes:
> There is a module called std.stdint located here:
>
> http://dlang.org/phobos/std_stdint.html
>
> but it doesn't appear in the documentation index here:
>
> http://dlang.org/phobos/index.html
>
> Not only that but when looking at the source it's just publicly importing core.stdc.stdint.
>
> What's the deal here? Is this a supported module? Should it appear in the doc index?
To me it looks like std.stdint belongs under phobos/std/c with all the other modules that publicly import something from druntime core.stdc.
Examples here are std.c.stddef, std.c.stdio, std.c.string. A few like std.c.string have additional definitions over the core.stdc modules.
--
dano
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply