DIP61: redone to do extern(C++,N) syntax

Byron via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 28 07:46:33 PDT 2014


On Sun, 27 Apr 2014 12:54:51 -0700, Walter Bright wrote:

> http://wiki.dlang.org/DIP61

Would nesting imported namespaces work?

lib/package.d
public
export(C++, a) {
  public import lib.b;

}


lib/b.d
export(C++, b) {
  void foo();
}

main.d
import lib;
a.b.foo();




More information about the Digitalmars-d mailing list