diff options
| author | Miodrag Milanovic <mmicko@gmail.com> | 2020-07-23 08:58:19 +0200 |
|---|---|---|
| committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-07-23 08:58:19 +0200 |
| commit | 444e535f000fd7b53dadf6726d5cd29ac34cc75f (patch) | |
| tree | 1ac675d8f0381de320849294fa70c946f631e7f6 /3rdparty/pybind11/tests/test_cmake_build/main.cpp | |
| parent | e6991ad5dc79f6118838f091cc05f10d3377eb4a (diff) | |
| download | nextpnr-444e535f000fd7b53dadf6726d5cd29ac34cc75f.tar.gz nextpnr-444e535f000fd7b53dadf6726d5cd29ac34cc75f.tar.bz2 nextpnr-444e535f000fd7b53dadf6726d5cd29ac34cc75f.zip | |
Add pybind11 2.5 source
Diffstat (limited to '3rdparty/pybind11/tests/test_cmake_build/main.cpp')
| -rw-r--r-- | 3rdparty/pybind11/tests/test_cmake_build/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/3rdparty/pybind11/tests/test_cmake_build/main.cpp b/3rdparty/pybind11/tests/test_cmake_build/main.cpp new file mode 100644 index 00000000..e30f2c4b --- /dev/null +++ b/3rdparty/pybind11/tests/test_cmake_build/main.cpp @@ -0,0 +1,6 @@ +#include <pybind11/pybind11.h> +namespace py = pybind11; + +PYBIND11_MODULE(test_cmake_build, m) { + m.def("add", [](int i, int j) { return i + j; }); +} |
