a | b/src/WRAP_Atropos.cxx | ||
---|---|---|---|
1 | #include <nanobind/nanobind.h> |
||
2 | #include <nanobind/stl/vector.h> |
||
3 | #include <nanobind/stl/string.h> |
||
4 | |||
5 | #include "antscore/Atropos.h" |
||
6 | |||
7 | namespace nb = nanobind; |
||
8 | using namespace nb::literals; |
||
9 | |||
10 | using StrVector = std::vector<std::string>; |
||
11 | |||
12 | int Atropos( StrVector instring ) |
||
13 | { |
||
14 | return ants::Atropos(instring, NULL); |
||
15 | } |
||
16 | |||
17 | void wrap_Atropos(nb::module_ &m) { |
||
18 | m.def("Atropos", &Atropos); |
||
19 | } |
||
20 |