allow dtypes of C/C++ classes and structs