Fix D code call by C++