Scarab  v2.9.1
Project 8 C++ Utility Library
Classes | Macros
pybind11_tests.h File Reference
#include <pybind11/pybind11.h>
Include dependency graph for pybind11_tests.h:

Go to the source code of this file.

Classes

class  test_initializer
 
struct  UnregisteredType
 Dummy type which is not exported anywhere – something to trigger a conversion error. More...
 
class  UserType
 A user-defined type which is exported and can be used by any test. More...
 
class  IncType
 Like UserType, but increments value on copy for quick reference vs. copy tests. More...
 
struct  RValueCaster
 
class  type_caster< RValueCaster >
 

Macros

#define TEST_SUBMODULE(name, variable)
 

Macro Definition Documentation

◆ TEST_SUBMODULE

#define TEST_SUBMODULE (   name,
  variable 
)
Value:
void test_submodule_##name(py::module &); \
test_initializer name(#name, test_submodule_##name); \
void test_submodule_##name(py::module &variable)
Wrapper for Python extension modules.
Definition: pybind11.h:789

Definition at line 20 of file pybind11_tests.h.