Make vector<size_t> opaque
parent
b4fdda4740
commit
01ea316336
|
@ -10,4 +10,6 @@
|
||||||
* Without this they will be automatically converted to a Python object, and all
|
* Without this they will be automatically converted to a Python object, and all
|
||||||
* mutations on Python side will not be reflected on C++.
|
* mutations on Python side will not be reflected on C++.
|
||||||
*/
|
*/
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
|
PYBIND11_MAKE_OPAQUE(std::vector<size_t>);
|
||||||
|
|
Loading…
Reference in New Issue