Normalize line endings and whitespace

This commit is contained in:
OpenCV Buildbot
2012-10-17 03:18:30 +04:00
committed by Andrey Kamaev
parent 69020da607
commit 04384a71e4
1516 changed files with 258846 additions and 258162 deletions

0
modules/python/src2/cv.py Normal file → Executable file
View File

View File

@@ -51,7 +51,7 @@ struct ArgInfo
bool outputarg;
// more fields may be added if necessary
ArgInfo(const char * name_, bool outputarg_)
ArgInfo(const char * name_, bool outputarg_)
: name(name_)
, outputarg(outputarg_) {}
@@ -278,7 +278,7 @@ static int pyopencv_to(const PyObject* o, Mat& m, const ArgInfo info, bool allow
(i < ndims-1 && _strides[i] < _strides[i+1]) )
needcopy = true;
}
if (needcopy)
{
if (info.outputarg)

0
modules/python/src2/gen.py Normal file → Executable file
View File

2
modules/python/src2/gen2.py Normal file → Executable file
View File

@@ -811,7 +811,7 @@ class PythonWrapperGenerator(object):
templ = gen_template_type_decl
self.code_types.write(templ.substitute(name=name, wname=classinfo.wname, cname=classinfo.cname,
cname1=("cv::Algorithm" if classinfo.isalgorithm else classinfo.cname)))
# register classes in the same order as they have been declared.
# this way, base classes will be registered in Python before their derivatives.
classlist1 = [(classinfo.decl_idx, name, classinfo) for name, classinfo in classlist]