expose dl through swig