D interface to cWt