https://issues.dlang.org/show_bug.cgi?id=7854
Andrei Alexandrescu changed:
What|Removed |Added
Version|unspecified |D2
--
https://issues.dlang.org/show_bug.cgi?id=7854
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=7854
Steven Schveighoffer changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
http://d.puremagic.com/issues/show_bug.cgi?id=7854
Don changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
--- Comment #1 from Don 2
http://d.puremagic.com/issues/show_bug.cgi?id=7854
Steven Schveighoffer changed:
What|Removed |Added
CC||schvei...@yahoo.com
Com
http://d.puremagic.com/issues/show_bug.cgi?id=7854
Don changed:
What|Removed |Added
Keywords||spec
Component|websites
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #4 from Steven Schveighoffer 2012-04-12
14:20:09 PDT ---
(In reply to comment #3)
>
> I agree it is probably a spec issue. Spec issues are normally treated with DMD
> + spec keyword. It is part of the DMD download.
>From descript
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #5 from Steven Schveighoffer 2012-04-12
14:28:18 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > extern(C) does not have any effect on parameters.
>
> Not so. It most definitely does! Doesn't make much difference
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #6 from Jonathan M Davis 2012-04-12 23:07:41
PDT ---
< I'm not exactly talking about binding or calling convention, I'm more talking
< about types. To me, the two are orthogonal.
Whereas I would argue that since you're declaring
http://d.puremagic.com/issues/show_bug.cgi?id=7854
Maxim Fomin changed:
What|Removed |Added
CC||ma...@maxim-fomin.ru
--- Comment #7 from
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #8 from Maxim Fomin 2012-04-15 01:15:46 PDT
---
When extern(C) appears it boils down to:
1) either it is used with purely C features:
extern (C) int *array_func (int *array, size_t size);
This is heavily used when interfacing D co
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #9 from Steven Schveighoffer 2012-04-16
05:43:17 PDT ---
(In reply to comment #6)
> > I'm not exactly talking about binding or calling convention, I'm more
> > talking
> > about types. To me, the two are orthogonal.
>
> Whereas
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #10 from Don 2012-04-17 02:03:47 PDT ---
(In reply to comment #9)
> (In reply to comment #6)
> > > I'm not exactly talking about binding or calling convention, I'm more
> > > talking
> > > about types. To me, the two are orthogona
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #11 from Steven Schveighoffer 2012-04-18
05:21:34 PDT ---
(In reply to comment #10)
> (In reply to comment #9)
> > No. An extern(C) function does not mean it's a C function. It just means
> > it
> > has C linkage. See here: htt
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #12 from Don 2012-04-18 10:59:56 PDT ---
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > No. An extern(C) function does not mean it's a C function. It just
> > > means it
> > > has C linka
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #13 from Steven Schveighoffer 2012-04-18
11:23:14 PDT ---
(In reply to comment #12)
>
> But C doesn't HAVE a calling convention for non-C types!
>
> extern(C) void foo( void delegate() dg)
> DOES NOT MAKE SENSE. It's not C, it's
http://d.puremagic.com/issues/show_bug.cgi?id=7854
--- Comment #14 from Don 2012-04-18 21:29:37 PDT ---
(In reply to comment #13)
> (In reply to comment #12)
> >
> > But C doesn't HAVE a calling convention for non-C types!
> >
> > extern(C) void foo( void delegate() dg)
> > DOES NOT MAKE SENS
17 matches
Mail list logo