Skip to content

Commit

Permalink
Bump pybind11 version for a bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Geigle committed Feb 14, 2017
1 parent 5590f49 commit e281b1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/pybind11
Submodule pybind11 updated 50 files
+2 −0 .readthedocs.yml
+14 −3 .travis.yml
+6 −1 CMakeLists.txt
+17 −0 ISSUE_TEMPLATE.md
+19 −0 docs/Doxyfile
+2 −2 docs/advanced/cast/chrono.rst
+1 −0 docs/advanced/cast/index.rst
+12 −0 docs/advanced/cast/overview.rst
+1 −1 docs/advanced/cast/stl.rst
+243 −0 docs/advanced/cast/strings.rst
+22 −6 docs/advanced/classes.rst
+110 −17 docs/advanced/functions.rst
+1 −0 docs/advanced/misc.rst
+12 −7 docs/advanced/pycpp/numpy.rst
+3 −1 docs/advanced/pycpp/object.rst
+21 −0 docs/advanced/smart_ptrs.rst
+6 −0 docs/changelog.rst
+3 −3 docs/classes.rst
+28 −4 docs/conf.py
+10 −0 docs/environment.yml
+34 −201 docs/reference.rst
+58 −32 include/pybind11/attr.h
+260 −167 include/pybind11/cast.h
+75 −18 include/pybind11/common.h
+9 −4 include/pybind11/complex.h
+55 −60 include/pybind11/numpy.h
+233 −81 include/pybind11/pybind11.h
+165 −20 include/pybind11/pytypes.h
+1 −1 pybind11/_version.py
+20 −12 setup.py
+2 −2 tests/CMakeLists.txt
+2 −2 tests/constructor_stats.h
+2 −2 tests/object.h
+14 −1 tests/pybind11_tests.cpp
+17 −0 tests/test_inheritance.cpp
+20 −1 tests/test_inheritance.py
+1 −2 tests/test_issues.cpp
+37 −0 tests/test_kwargs_and_defaults.cpp
+49 −0 tests/test_kwargs_and_defaults.py
+116 −12 tests/test_methods_and_attributes.cpp
+78 −2 tests/test_methods_and_attributes.py
+36 −22 tests/test_numpy_dtypes.cpp
+74 −34 tests/test_numpy_dtypes.py
+2 −1 tests/test_opaque_types.py
+42 −0 tests/test_python_types.cpp
+91 −0 tests/test_python_types.py
+28 −0 tests/test_smart_ptr.cpp
+10 −0 tests/test_smart_ptr.py
+1 −1 tools/pybind11Config.cmake.in
+81 −47 tools/pybind11Tools.cmake
3 changes: 2 additions & 1 deletion src/metapy_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ void metapy_bind_index(py::module& m)
},
"Returns the metadata value for a given field name");

py::class_<index::disk_index>{m_idx, "DiskIndex"}
py::class_<index::disk_index, std::shared_ptr<index::disk_index>>{
m_idx, "DiskIndex"}
.def("index_name", &index::disk_index::index_name)
.def("num_docs", &index::disk_index::num_docs)
.def("docs", &index::disk_index::docs)
Expand Down

0 comments on commit e281b1e

Please sign in to comment.