7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2024-11-22 09:35:01 +00:00
kicad/thirdparty/pybind11/tests/test_cmake_build/main.cpp
2021-06-01 20:18:24 +00:00

7 lines
152 B
C++

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