|
DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
|
Shared pybind11 plumbing used by every *_bind.hpp in DNDS (buffer-protocol type check, ssp-based class alias, ostream redirect guard, top-level pybind11_bind_defines entry point).
More...
Go to the source code of this file.
Namespaces | |
| namespace | DNDS |
| the host side operators are provided as implemented | |
Macros | |
| #define | DNDS_PYBIND11_OSTREAM_GUARD |
Typedefs | |
| template<class T > | |
| using | DNDS::py_class_ssp = py::classh< T > |
Functions | |
| template<class T > | |
| bool | DNDS::py_buffer_contains_T (const py::buffer_info &info) |
| bool | DNDS::py_buffer_is_contigious_c (const py::buffer_info &info) |
| bool | DNDS::py_buffer_is_contigious_f (const py::buffer_info &info) |
| std::tuple< ssize_t, char > | DNDS::py_buffer_get_contigious_size (const py::buffer_info &info) |
| template<typename T > | |
| py::memoryview | DNDS::py_vector_as_memory_view (std::vector< T > &vec, bool readonly) |
| void | DNDS::pybind11_bind_defines (py::module_ &m) |
Shared pybind11 plumbing used by every *_bind.hpp in DNDS (buffer-protocol type check, ssp-based class alias, ostream redirect guard, top-level pybind11_bind_defines entry point).
Definition in file Defines_bind.hpp.
| #define DNDS_PYBIND11_OSTREAM_GUARD |
Definition at line 17 of file Defines_bind.hpp.