Browse Source

fix bug where two classes got the same name

python
Jørgen Lien Sellæg 7 years ago committed by Jørgen Sverre Lien Sellæg
parent
commit
8061731851
  1. 2
      src/ctags.cpp

2
src/ctags.cpp

@ -281,7 +281,7 @@ std::vector<Ctags::Location> Ctags::get_locations(const boost::filesystem::path
void Ctags::init_module(py::module &api) {
py::class_<Ctags> ctags(api, "Ctags");
py::class_<Ctags::Location>(api, "Ctags")
py::class_<Ctags::Location>(api, "Location")
.def_readwrite("file_path", &Ctags::Location::file_path)
.def_readwrite("line", &Ctags::Location::line)
.def_readwrite("index", &Ctags::Location::index)

Loading…
Cancel
Save