mirror of
https://github.com/opencv/opencv.git
synced 2026-10-01 04:03:49 +03:00
python: 'sub-module' for binding sources and documentation meta information
This commit is contained in:
1 parent
b15bc194ef
commit
768f4cb7bc
7 files changed
+118
-105
No files matched your search
@@ -9,6 +9,12 @@
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <numpy/ndarrayobject.h>
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
# define CV_PYTHON_TYPE_HEAD_INIT() PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
||||
#else
|
||||
# define CV_PYTHON_TYPE_HEAD_INIT() PyObject_HEAD_INIT(&PyType_Type) 0,
|
||||
#endif
|
||||
|
||||
#include "pyopencv_generated_include.h"
|
||||
#include "opencv2/core/types_c.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user