#include "pybind11_tests.h"
Go to the source code of this file.
Classes | |
struct | test_exc_sp::C |
Namespaces | |
test_exc_sp | |
Enumerations | |
enum | MyEnum { EFirstEntry = 1, ESecondEntry } |
Functions | |
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 () |
std::string | print_bytes (const py::bytes &bytes) |
py::bytes | return_bytes () |
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) |
TEST_SUBMODULE (constants_and_functions, m) | |
enum MyEnum |
Enumerator | |
---|---|
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.
py::bytes return_bytes | ( | ) |
Definition at line 26 of file test_constants_and_functions.cpp.
std::string test_function1 | ( | ) |
Definition at line 15 of file test_constants_and_functions.cpp.
std::string test_function2 | ( | MyEnum | k | ) |
Definition at line 17 of file test_constants_and_functions.cpp.
std::string test_function3 | ( | int | i | ) |
Definition at line 19 of file test_constants_and_functions.cpp.
py::str test_function4 | ( | ) |
Definition at line 21 of file test_constants_and_functions.cpp.
py::str test_function4 | ( | char * | ) |
Definition at line 22 of file test_constants_and_functions.cpp.
py::str test_function4 | ( | int | , |
float | |||
) |
Definition at line 23 of file test_constants_and_functions.cpp.
py::str test_function4 | ( | float | , |
int | |||
) |
Definition at line 24 of file test_constants_and_functions.cpp.
TEST_SUBMODULE | ( | constants_and_functions | , |
m | |||
) |
Definition at line 85 of file test_constants_and_functions.cpp.