Switch to unified view

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