[5d12a0]: / src / WRAP_LabelClustersUniquely.cxx

Download this file

19 lines (14 with data), 462 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/LabelClustersUniquely.h"
namespace nb = nanobind;
using namespace nb::literals;
using StrVector = std::vector<std::string>;
int LabelClustersUniquely( StrVector instring )
{
return ants::LabelClustersUniquely(instring, NULL);
}
void wrap_LabelClustersUniquely(nb::module_ &m) {
m.def("LabelClustersUniquely", &LabelClustersUniquely);
}