extern(C++) interfaces
Merge pull request #412 from AlexeyProkhin/cpp

extern(C++) interfaces