wrap/pybind11/tests/test_cmake_build/main.cpp
Go to the documentation of this file.
1 #include <pybind11/pybind11.h>
2 namespace py = pybind11;
3 
4 PYBIND11_MODULE(test_cmake_build, m, py::mod_gil_not_used()) {
5  m.def("add", [](int i, int j) { return i + j; });
6 }
PYBIND11_MODULE
PYBIND11_MODULE(test_cmake_build, m, py::mod_gil_not_used())
Definition: wrap/pybind11/tests/test_cmake_build/main.cpp:4
j
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
m
Matrix3f m
Definition: AngleAxis_mimic_euler.cpp:1
pybind11.h
pybind11
Definition: wrap/pybind11/pybind11/__init__.py:1
i
int i
Definition: BiCGSTAB_step_by_step.cpp:9


gtsam
Author(s):
autogenerated on Fri Oct 4 2024 03:02:47