knx/examples/knxPython/pybind11/tests/test_cmake_build/main.cpp
Thomas Kunze 1f406abbd4 astyle
2024-09-14 11:55:51 +02:00

11 lines
192 B
C++

#include <pybind11/pybind11.h>
namespace py = pybind11;
PYBIND11_MODULE(test_cmake_build, m, py::mod_gil_not_used())
{
m.def("add", [](int i, int j)
{
return i + j;
});
}