#include "pybind11_tests.h"
Go to the source code of this file.
Classes | |
struct | test_exc_sp::C |
Namespaces | |
namespace | test_exc_sp |
Enumerations | |
enum | MyEnum { EFirstEntry = 1 , ESecondEntry , EFirstEntry = 1 , ESecondEntry } |
Functions | |
std::string | test_function1 () |
std::string | test_function2 (MyEnum k) |
std::string | test_function3 (int i) |
py::str | test_function4 () |
py::str | test_function4 (char *) |
py::str | test_function4 (int, float) |
py::str | test_function4 (float, int) |
py::bytes | return_bytes () |
std::string | print_bytes (const py::bytes &bytes) |
int | test_exc_sp::f1 (int x) noexcept |
int | test_exc_sp::f2 (int x) noexcept(true) |
int | test_exc_sp::f3 (int x) noexcept(false) |
int | test_exc_sp::f4 (int x) throw () |
TEST_SUBMODULE (constants_and_functions, m) | |
enum MyEnum |
Enumerator | |
---|---|
EFirstEntry | |
ESecondEntry | |
EFirstEntry | |
ESecondEntry |
Definition at line 13 of file test_constants_and_functions.cpp.
std::string print_bytes | ( | const py::bytes & | bytes | ) |
Definition at line 31 of file test_constants_and_functions.cpp.
Referenced by TEST_SUBMODULE().
py::bytes return_bytes | ( | ) |
Definition at line 26 of file test_constants_and_functions.cpp.
References data().
Referenced by TEST_SUBMODULE().
std::string test_function1 | ( | ) |
Definition at line 15 of file test_constants_and_functions.cpp.
Referenced by TEST_SUBMODULE().
std::string test_function2 | ( | MyEnum | k | ) |
Definition at line 17 of file test_constants_and_functions.cpp.
Referenced by TEST_SUBMODULE().
std::string test_function3 | ( | int | i | ) |
Definition at line 19 of file test_constants_and_functions.cpp.
Referenced by TEST_SUBMODULE().
py::str test_function4 | ( | ) |
Definition at line 21 of file test_constants_and_functions.cpp.
Referenced by TEST_SUBMODULE().
py::str test_function4 | ( | char * | ) |
Definition at line 22 of file test_constants_and_functions.cpp.
py::str test_function4 | ( | float | , |
int | |||
) |
Definition at line 24 of file test_constants_and_functions.cpp.
py::str test_function4 | ( | int | , |
float | |||
) |
Definition at line 23 of file test_constants_and_functions.cpp.
TEST_SUBMODULE | ( | constants_and_functions | , |
m | |||
) |
Definition at line 85 of file test_constants_and_functions.cpp.
References EFirstEntry, ESecondEntry, print_bytes(), return_bytes(), test_function1(), test_function2(), test_function3(), and test_function4().