|
#define | DECL_NPY_API(Func) api.Func##_ = (decltype(api.Func##_)) api_ptr[API_##Func]; |
|
#define | PYBIND11_DECL_CHAR_FMT |
|
#define | PYBIND11_EVAL(...) PYBIND11_EVAL4 (PYBIND11_EVAL4 (PYBIND11_EVAL4 (__VA_ARGS__))) |
|
#define | PYBIND11_EVAL0(...) __VA_ARGS__ |
|
#define | PYBIND11_EVAL1(...) PYBIND11_EVAL0 (PYBIND11_EVAL0 (PYBIND11_EVAL0 (__VA_ARGS__))) |
|
#define | PYBIND11_EVAL2(...) PYBIND11_EVAL1 (PYBIND11_EVAL1 (PYBIND11_EVAL1 (__VA_ARGS__))) |
|
#define | PYBIND11_EVAL3(...) PYBIND11_EVAL2 (PYBIND11_EVAL2 (PYBIND11_EVAL2 (__VA_ARGS__))) |
|
#define | PYBIND11_EVAL4(...) PYBIND11_EVAL3 (PYBIND11_EVAL3 (PYBIND11_EVAL3 (__VA_ARGS__))) |
|
#define | PYBIND11_FIELD_DESCRIPTOR(T, Field) PYBIND11_FIELD_DESCRIPTOR_EX(T, Field, #Field) |
|
#define | PYBIND11_FIELD_DESCRIPTOR_EX(T, Field, Name) |
|
#define | PYBIND11_MAP2_LIST(f, t, ...) PYBIND11_EVAL (PYBIND11_MAP2_LIST1 (f, t, __VA_ARGS__, (), 0)) |
|
#define | PYBIND11_MAP2_LIST0(f, t, x1, x2, peek, ...) f(t, x1, x2) PYBIND11_MAP2_LIST_NEXT (peek, PYBIND11_MAP2_LIST1) (f, t, peek, __VA_ARGS__) |
|
#define | PYBIND11_MAP2_LIST1(f, t, x1, x2, peek, ...) f(t, x1, x2) PYBIND11_MAP2_LIST_NEXT (peek, PYBIND11_MAP2_LIST0) (f, t, peek, __VA_ARGS__) |
|
#define | PYBIND11_MAP2_LIST_NEXT(test, next) PYBIND11_MAP2_LIST_NEXT1 (PYBIND11_MAP_GET_END test, next) |
|
#define | PYBIND11_MAP2_LIST_NEXT1(test, next) PYBIND11_MAP_NEXT0 (test, PYBIND11_MAP_COMMA next, 0) |
|
#define | PYBIND11_MAP_COMMA , |
|
#define | PYBIND11_MAP_END(...) |
|
#define | PYBIND11_MAP_GET_END() 0, PYBIND11_MAP_END |
|
#define | PYBIND11_MAP_LIST(f, t, ...) PYBIND11_EVAL (PYBIND11_MAP_LIST1 (f, t, __VA_ARGS__, (), 0)) |
|
#define | PYBIND11_MAP_LIST0(f, t, x, peek, ...) f(t, x) PYBIND11_MAP_LIST_NEXT (peek, PYBIND11_MAP_LIST1) (f, t, peek, __VA_ARGS__) |
|
#define | PYBIND11_MAP_LIST1(f, t, x, peek, ...) f(t, x) PYBIND11_MAP_LIST_NEXT (peek, PYBIND11_MAP_LIST0) (f, t, peek, __VA_ARGS__) |
|
#define | PYBIND11_MAP_LIST_NEXT(test, next) PYBIND11_MAP_LIST_NEXT1 (PYBIND11_MAP_GET_END test, next) |
|
#define | PYBIND11_MAP_LIST_NEXT1(test, next) PYBIND11_MAP_NEXT0 (test, PYBIND11_MAP_COMMA next, 0) |
|
#define | PYBIND11_MAP_NEXT(test, next) PYBIND11_MAP_NEXT1 (PYBIND11_MAP_GET_END test, next) |
|
#define | PYBIND11_MAP_NEXT0(test, next, ...) next PYBIND11_MAP_OUT |
|
#define | PYBIND11_MAP_NEXT1(test, next) PYBIND11_MAP_NEXT0 (test, next, 0) |
|
#define | PYBIND11_MAP_OUT |
|
#define | PYBIND11_NUMPY_DTYPE(Type, ...) |
|
#define | PYBIND11_NUMPY_DTYPE_EX(Type, ...) |
|
|
template<class T > |
array_iterator< T > | array_begin (const buffer_info &buffer) |
|
PyArrayDescr_Proxy * | array_descriptor_proxy (PyObject *ptr) |
|
const PyArrayDescr_Proxy * | array_descriptor_proxy (const PyObject *ptr) |
|
template<class T > |
array_iterator< T > | array_end (const buffer_info &buffer) |
|
PyArray_Proxy * | array_proxy (void *ptr) |
|
const PyArray_Proxy * | array_proxy (const void *ptr) |
|
template<size_t N> |
broadcast_trivial | broadcast (const std::array< buffer_info, N > &buffers, ssize_t &ndim, std::vector< ssize_t > &shape) |
|
template<ssize_t Dim = 0, typename Strides > |
ssize_t | byte_offset_unsafe (const Strides &) |
|
template<ssize_t Dim = 0, typename Strides , typename... Ix> |
ssize_t | byte_offset_unsafe (const Strides &strides, ssize_t i, Ix...index) |
|
bool | check_flags (const void *ptr, int flag) |
|
numpy_internals & | get_numpy_internals () |
|
PYBIND11_NOINLINE void | load_numpy_internals (numpy_internals *&ptr) |
|
template<typename Concrete > |
constexpr int | platform_lookup () |
|
template<typename Concrete , typename T , typename... Ts, typename... Ints> |
constexpr int | platform_lookup (int I, Ints...Is) |
|
PYBIND11_NOINLINE void | register_structured_dtype (any_container< field_descriptor > fields, const std::type_info &tinfo, ssize_t itemsize, bool(*direct_converter)(PyObject *, void *&)) |
|
template<typename Return , typename... Args> |
detail::vectorize_helper< Return(*)(Args...), Return, Args... > | vectorize (Return(*f)(Args...)) |
|
template<typename Func , detail::enable_if_t< detail::is_lambda< Func >::value, int > = 0> |
auto | vectorize (Func &&f) -> decltype(detail::vectorize_extractor(std::forward< Func >(f),(detail::function_signature_t< Func > *) nullptr)) |
|
template<typename Return , typename Class , typename... Args, typename Helper = detail::vectorize_helper<decltype(std::mem_fn(std::declval<Return (Class::*)(Args...)>())), Return, Class *, Args...>> |
Helper | vectorize (Return(Class::*f)(Args...)) |
|
template<typename Func , typename Return , typename... Args> |
vectorize_helper< Func, Return, Args... > | vectorize_extractor (const Func &f, Return(*)(Args...)) |
|
template<typename Return , typename Class , typename... Args, typename Helper = detail::vectorize_helper<decltype(std::mem_fn(std::declval<Return (Class::*)(Args...)>())), Return, Class *, Args...>>
Helper vectorize |
( |
Return(Class::*)(Args...) |
f | ) |
|