extern(C++, NS)

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 29 04:30:08 PST 2015


On Sunday, 29 November 2015 at 11:29:58 UTC, Manu wrote:
>
> Wow... I just didn't quite get there >_<
> That's really horrible! But thanks! ;)

Sorry, my memory was failing me, I dug up the real source now, it 
was a while ago and I hacked around a lot before I got it 
working, this is what I ended up with.

private extern(C++, std)
{
public:
   int fun();
}

// autogenerate all aliases with 'static foreach'?
alias fun = std.fun;



More information about the Digitalmars-d mailing list