You should declare methods too, see example https://dlang.org/spec/cpp_interface.html#using_cpp_classes_from_d

Reply via email to