Classes | Macros | Functions
pybind11_tests.h File Reference
#include <pybind11/eval.h>
#include <pybind11/pybind11.h>
Include dependency graph for pybind11_tests.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IncType
 Like UserType, but increments value on copy for quick reference vs. copy tests. More...
 
union  IntFloat
 A simple union for basic testing. More...
 
struct  RValueCaster
 
class  test_initializer
 
class  type_caster< RValueCaster >
 
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...
 

Macros

#define TEST_SUBMODULE(name, variable)
 

Functions

template<typename F >
void ignoreOldStyleInitWarnings (F &&body)
 

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))
Annotation for function names.
Definition: attr.h:48

Definition at line 17 of file pybind11_tests.h.

Function Documentation

◆ ignoreOldStyleInitWarnings()

template<typename F >
void ignoreOldStyleInitWarnings ( F &&  body)

Definition at line 75 of file pybind11_tests.h.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:52