Merge pull request #18823 from alalek:issue_contrib_2750

pull/18858/head
Alexander Alekhin 4 years ago
commit b5c162175b
  1. 3
      modules/python/src2/gen2.py

@ -201,7 +201,8 @@ simple_argtype_mapping = {
"int": ArgTypeInfo("int", FormatStrings.int, "0", True),
"float": ArgTypeInfo("float", FormatStrings.float, "0.f", True),
"double": ArgTypeInfo("double", FormatStrings.double, "0", True),
"c_string": ArgTypeInfo("char*", FormatStrings.string, '(char*)""')
"c_string": ArgTypeInfo("char*", FormatStrings.string, '(char*)""'),
"string": ArgTypeInfo("std::string", FormatStrings.object, None, True),
}

Loading…
Cancel
Save