mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
python: emit "string" => "std::string"
This commit is contained in:
parent
06477743ab
commit
464d53bb16
@ -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…
Reference in New Issue
Block a user