Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 06, 2014 extern (C++, N) is it implemented? | ||||
---|---|---|---|---|
| ||||
This dlang.org/cpp_interface.html says I can do the following // c++ namespace N { void someCppFunction(); } // d extern (C++, N) void someCppFunction(); but this http://dpaste.dzfl.pl/e2242263e1dc says I can't Is this feature implemented? |
August 06, 2014 Re: extern (C++, N) is it implemented? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexandr Druzhinin | On Wednesday, 6 August 2014 at 06:50:59 UTC, Alexandr Druzhinin wrote:
> This dlang.org/cpp_interface.html says I can do the following
>
> // c++
> namespace N {
> void someCppFunction();
> }
>
> // d
> extern (C++, N) void someCppFunction();
>
> but this http://dpaste.dzfl.pl/e2242263e1dc says I can't
>
> Is this feature implemented?
Should be in upcoming release.
|
August 06, 2014 Re: extern (C++, N) is it implemented? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | 06.08.2014 10:54, Dicebot пишет:
> On Wednesday, 6 August 2014 at 06:50:59 UTC, Alexandr Druzhinin wrote:
>> This dlang.org/cpp_interface.html says I can do the following
>>
>> // c++
>> namespace N {
>> void someCppFunction();
>> }
>>
>> // d
>> extern (C++, N) void someCppFunction();
>>
>> but this http://dpaste.dzfl.pl/e2242263e1dc says I can't
>>
>> Is this feature implemented?
>
> Should be in upcoming release.
Ok. Hope it will )
|
August 06, 2014 Re: extern (C++, N) is it implemented? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alexandr Druzhinin | On Wednesday, 6 August 2014 at 06:50:59 UTC, Alexandr Druzhinin wrote: > This dlang.org/cpp_interface.html says I can do the following > > // c++ > namespace N { > void someCppFunction(); > } > > // d > extern (C++, N) void someCppFunction(); > > but this http://dpaste.dzfl.pl/e2242263e1dc says I can't > > Is this feature implemented? dpaste provides DMD2.063 as "DMD 2.x Git"! http://dpaste.dzfl.pl/8dd68f98dbd73 |
Copyright © 1999-2021 by the D Language Foundation