return best representation of polymorphic types (fixes #105)

This commit is contained in:
Wenzel Jakob
2016-04-13 13:45:09 +02:00
parent d40885a1e6
commit d7efa4ff7b
7 changed files with 55 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ void init_ex12(py::module &);
void init_ex13(py::module &);
void init_ex14(py::module &);
void init_ex15(py::module &);
void init_ex16(py::module &);
void init_issues(py::module &);
PYBIND11_PLUGIN(example) {
@@ -44,6 +45,7 @@ PYBIND11_PLUGIN(example) {
init_ex13(m);
init_ex14(m);
init_ex15(m);
init_ex16(m);
init_issues(m);
return m.ptr();