Skip to content

Commit 4c719bd

Browse files
committed
pybind.cpp
1 parent e397e17 commit 4c719bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

section4/pybind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ PYBIND11_MODULE(pydemo, m)
100100
}
101101
);
102102

103-
pybind11::class_<Point>(m, "Point")
103+
py::class_<Point>(m, "Point")
104104
.def(py::init())
105105
.def(py::init<int>())
106106
.def("get", &Point::get)

0 commit comments

Comments
 (0)