mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 21:33:04 +04:00
Replace static numpy allocator by function containing static.
That enables the numpy code to be its own library, in case some users want to (e.g. CLIF library).
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
#include "cv2_numpy.hpp"
|
||||
#include "cv2_util.hpp"
|
||||
|
||||
NumpyAllocator g_numpyAllocator;
|
||||
|
||||
using namespace cv;
|
||||
|
||||
UMatData* NumpyAllocator::allocate(PyObject* o, int dims, const int* sizes, int type, size_t* step) const
|
||||
|
||||
Reference in New Issue
Block a user