![]() |
Scarab
2.8.1
Project 8 C++ Utility Library
|
#include <cast.h>
Public Member Functions | |
| loader_life_support () | |
| A new patient frame is created when a function is entered. More... | |
| ~loader_life_support () | |
| ... and destroyed after it returns More... | |
| __attribute__ ((noinline)) static void add_patient(handle h) | |
A life support system for temporary objects created by type_caster::load(). Adding a patient will keep it alive up until the enclosing function returns.
|
inline |
|
inline |
|
inline |
This can only be used inside a pybind11-bound function, either by argument_loader at argument preparation time or by py::cast() at execution time.
1.8.13