mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
7 lines
176 B
C++
7 lines
176 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; });
|
|
}
|