Diff of /src/WRAP_iMath.cxx [000000] .. [5d12a0]

Switch to side-by-side view

--- a
+++ b/src/WRAP_iMath.cxx
@@ -0,0 +1,19 @@
+#include <nanobind/nanobind.h>
+#include <nanobind/stl/vector.h>
+#include <nanobind/stl/string.h>
+
+#include "antscore/iMath.h"
+
+namespace nb = nanobind;
+using namespace nb::literals;
+
+using StrVector = std::vector<std::string>;
+
+int iMath( StrVector instring )
+{
+    return ants::iMath(instring, NULL);
+}
+
+void wrap_iMath(nb::module_ &m) {
+  m.def("iMath", &iMath);
+}
\ No newline at end of file