Merge pull request #3574 from mikeizbicki:patch-1

pull/3606/head
Vadim Pisarevsky 10 years ago
commit c58373dbea
  1. 2
      modules/python/src2/gen2.py

@ -861,7 +861,7 @@ class PythonWrapperGenerator(object):
decls = self.parser.parse(hdr)
if len(decls) == 0:
continue
self.code_include.write( '#include "{}"\n'.format(hdr[hdr.rindex('opencv2/'):]) )
self.code_include.write( '#include "{0}"\n'.format(hdr[hdr.rindex('opencv2/'):]) )
for decl in decls:
name = decl[0]
if name.startswith("struct") or name.startswith("class"):

Loading…
Cancel
Save