Sign in
gem5
/
arm
/
gem5
/
211124aff2c0750d1b80f0cd71fec3f06c50bcc6
/
.
/
ext
/
pybind11
/
tests
/
test_cmake_build
/
main.cpp
blob: e0f5b69c9f8181cd9ac2bbe1c33ace4cdb5e7c6b [
file
] [
log
] [
blame
]
#include
<pybind11/pybind11.h>
namespace
py
=
pybind11
;
PYBIND11_PLUGIN
(
test_cmake_build
)
{
py
::
module m
(
"test_cmake_build"
);
m
.
def
(
"add"
,
[](
int
i
,
int
j
)
{
return
i
+
j
;
});
return
m
.
ptr
();
}