Skip to content

Commit 913bf7f

Browse files
committed
remove commented lines
1 parent 46076ab commit 913bf7f

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

src/numpy_cpp.h

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -324,39 +324,6 @@ class array_view_accessors<AV, T, 3>
324324

325325
};
326326

327-
// /* These are converter functions designed for use with the "O&"
328-
// functionality of PyArg_ParseTuple and friends. */
329-
330-
// template<class T>
331-
// class array_converter {
332-
// public:
333-
// int operator()(PyObject *obj, void *arrp)
334-
// {
335-
// T *arr = (T *)arrp;
336-
337-
// if (!arr->set(obj)) {
338-
// return 0;
339-
// }
340-
341-
// return 1;
342-
// }
343-
// };
344-
345-
// template <class T>
346-
// class array_converter_contiguous {
347-
// public:
348-
// int operator()(PyObject *obj, void *arrp)
349-
// {
350-
// T *arr = (T *)arrp;
351-
352-
// if (!arr->set(obj, true)) {
353-
// return 0;
354-
// }
355-
356-
// return 1;
357-
// }
358-
// };
359-
360327
}
361328

362329
static npy_intp zeros[] = { 0, 0, 0 };

0 commit comments

Comments
 (0)