On Tue, Jul 2, 2013 at 5:52 AM, bearophile bearophileh...@lycos.com wrote:
Adam D. Ruppe:
The older std.c is kept around just for compatibility with the old names
before the move, at least as far as I know. Maybe they haven't fully
deprecated it though because there's other reasons I don't
On Tuesday, 2 July 2013 at 12:52:49 UTC, bearophile wrote:
Adam D. Ruppe:
The older std.c is kept around just for compatibility with the
old names before the move, at least as far as I know. Maybe
they haven't fully deprecated it though because there's other
reasons I don't know about, since
It is in core.stdc. For example:
import core.stdc.stdio; // stdio.h
import core.stdc.stdlib;// stdlib.h
etc.
Thanks! I'm confused why that module isn't mentioned in the
library reference page.
What's the difference between core.stdc and std.c? The docs do
refer to core.stdc, though
On Monday, 1 July 2013 at 18:09:32 UTC, Jonathan M Davis wrote:
On Monday, July 01, 2013 18:32:30 CJS wrote:
Is there some header/module that includes declaration for all C
standard libraries?
I'm wondering both in general for future reference, and for the
specific case of wanting to time
Use core.stdc, and forget of std.c.
Bye,
bearophile
What's the reason for that?
Gary Willoughby:
What's the reason for that?
Moving the C stuff in core is probably a way to remember D
programmers that stuff is not normal stuff you are supposed to
use in D programs. A D programmer should use the normal safer and
nicer D functions. Core is there for special cases.
On Tuesday, 2 July 2013 at 06:33:03 UTC, CJS wrote:
Thanks! I'm confused why that module isn't mentioned in the
library reference page.
I don't know.
What's the difference between core.stdc and std.c?
std.c is what it was called in earlier versions of D, before
there was a clear
Adam D. Ruppe:
The older std.c is kept around just for compatibility with the
old names before the move, at least as far as I know. Maybe
they haven't fully deprecated it though because there's other
reasons I don't know about, since it has been many years now
since the move.
In
Is there some header/module that includes declaration for all C
standard libraries?
I'm wondering both in general for future reference, and for the
specific case of wanting to time a function and not knowing what
in D--even after looking through the docs--would do something
equivalent
On Monday, 1 July 2013 at 16:32:32 UTC, CJS wrote:
Is there some header/module that includes declaration for all C
standard libraries?
It is in core.stdc. For example:
import core.stdc.stdio; // stdio.h
import core.stdc.stdlib;// stdlib.h
etc.
what in D--even after looking through the docs
On Monday, July 01, 2013 18:32:30 CJS wrote:
Is there some header/module that includes declaration for all C
standard libraries?
I'm wondering both in general for future reference, and for the
specific case of wanting to time a function and not knowing what
in D--even after looking through
11 matches
Mail list logo