[5d12a0]: / src / WRAP_Atropos.cxx

Download this file

21 lines (14 with data), 380 Bytes

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