Files
slsDetectorPackage/libs/pybind/docs/reference.rst
Erik Fröjdh c0c8c8e21a Hardcopy of pybind11 instead of using git submodules (#552)
* removed pybind as submodule
* added hardcopy of pybind11 2.10.0
* rename pybind11 folder to avoid conflicts when changing branch

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2022-09-09 10:42:43 +02:00

2.6 KiB

Warning

Please be advised that the reference documentation discussing pybind11 internals is currently incomplete. Please refer to the previous sections and the pybind11 header files for the nitty gritty details.

Reference

Macros

PYBIND11_MODULE

Convenience classes for arbitrary Python types

Common member functions

object_api

Without reference counting

handle

With reference counting

object

reinterpret_borrow

reinterpret_steal

Convenience classes for specific Python types

pytypes

Convenience functions converting to Python types

make_tuple(Args&&...)

make_iterator(Iterator, Sentinel, Extra &&...)

make_iterator(Type &, Extra&&...)

make_key_iterator(Iterator, Sentinel, Extra &&...)

make_key_iterator(Type &, Extra&&...)

make_value_iterator(Iterator, Sentinel, Extra &&...)

make_value_iterator(Type &, Extra&&...)

Passing extra arguments to def or class_

annotations

Embedding the interpreter

PYBIND11_EMBEDDED_MODULE

initialize_interpreter

finalize_interpreter

scoped_interpreter

Redirecting C++ streams

scoped_ostream_redirect

scoped_estream_redirect

add_ostream_redirect

Python built-in functions

python_builtins

Inheritance

See /classes and /advanced/classes for more detail.

PYBIND11_OVERRIDE

PYBIND11_OVERRIDE_PURE

PYBIND11_OVERRIDE_NAME

PYBIND11_OVERRIDE_PURE_NAME

get_override

Exceptions

error_already_set

builtin_exception

Literals

literals