mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-04 13:41:36 +00:00
refactor: module -> module_ with typedef (#2544)
* WIP: module -> module_ without typedef * refactor: allow py::module to work again
This commit is contained in:
@@ -17,7 +17,7 @@ double my_func(int x, float y, double z) {
|
||||
}
|
||||
|
||||
TEST_SUBMODULE(numpy_vectorize, m) {
|
||||
try { py::module::import("numpy"); }
|
||||
try { py::module_::import("numpy"); }
|
||||
catch (...) { return; }
|
||||
|
||||
// test_vectorize, test_docs, test_array_collapse
|
||||
|
||||
Reference in New Issue
Block a user