15 lines
256 B
C++
15 lines
256 B
C++
#include <pybind11/pybind11.h>
|
|
|
|
#include "TCopyCPU.h"
|
|
|
|
namespace py = pybind11;
|
|
|
|
PYBIND11_MODULE(PyTCopyCPU, m)
|
|
{
|
|
m.doc() = "TCopyCPU Module";
|
|
py::class_<TCopyCPU>(m, "TCopyCPU")
|
|
.def(py::init<>())
|
|
.def("process",
|
|
&TCopyCPU::process);
|
|
}
|
|
|