#include <pybind11/functional.h>
#include "constructor_stats.h"
#include "pybind11_tests.h"
#include <thread>
Go to the source code of this file.
Classes | |
class | ExampleVirt |
class | PyExampleVirt |
class | NonCopyable |
class | Movable |
class | NCVirt |
class | NCVirtTrampoline |
struct | Base |
struct | DispatchIssue |
struct | AdderBase |
struct | AdderBase::Data |
struct | Adder |
class | test_override_cache_helper |
class | test_override_cache_helper_trampoline |
class | A_Repeat |
class | B_Repeat |
class | C_Repeat |
class | D_Repeat |
class | A_Tpl |
class | B_Tpl |
class | C_Tpl |
class | D_Tpl |
class | PyA_Repeat |
class | PyB_Repeat |
class | PyC_Repeat |
class | PyD_Repeat |
class | PyA_Tpl< Base > |
class | PyB_Tpl< Base > |
Macros | |
#define | A_METHODS |
#define | B_METHODS |
#define | C_METHODS |
#define | D_METHODS |
Functions | |
static void | test_gil () |
static void | test_gil_from_thread () |
int | test_override_cache (std::shared_ptr< test_override_cache_helper > const &instance) |
void | initialize_inherited_virtuals (py::module_ &m) |
TEST_SUBMODULE (virtual_functions, m) | |
#define A_METHODS |
Definition at line 424 of file test_virtual_functions.cpp.
#define B_METHODS |
Definition at line 442 of file test_virtual_functions.cpp.
#define C_METHODS |
Definition at line 452 of file test_virtual_functions.cpp.
#define D_METHODS |
Definition at line 459 of file test_virtual_functions.cpp.
void initialize_inherited_virtuals | ( | py::module_ & | m | ) |
Definition at line 561 of file test_virtual_functions.cpp.
References test_gil(), and test_gil_from_thread().
Referenced by TEST_SUBMODULE().
|
static |
Definition at line 191 of file test_virtual_functions.cpp.
Referenced by initialize_inherited_virtuals(), and test_gil_from_thread().
|
static |
Definition at line 203 of file test_virtual_functions.cpp.
References test_gil().
Referenced by initialize_inherited_virtuals().
|
inline |
Definition at line 226 of file test_virtual_functions.cpp.
Referenced by TEST_SUBMODULE().
TEST_SUBMODULE | ( | virtual_functions | , |
m | |||
) |
Definition at line 234 of file test_virtual_functions.cpp.
References Base::dispatch(), first(), test_override_cache_helper::func(), NCVirt::get_movable(), NCVirt::get_noncopyable(), initialize_inherited_virtuals(), NCVirt::print_movable(), NCVirt::print_nc(), ExampleVirt::pure_virtual(), PYBIND11_OVERRIDE, PYBIND11_TYPE, ExampleVirt::run(), ExampleVirt::run_bool(), and test_override_cache().