Merge pull request #18809 from alalek:objc_string

pull/18814/head
Alexander Alekhin 4 years ago
commit 892cac9e1b
  1. 7
      modules/core/misc/objc/gen_dict.json

@ -215,6 +215,13 @@
"from_cpp": "[NSString stringWithUTF8String:%(n)s.c_str()]",
"swift_type": "String"
},
"string": {
"cast_to": "std::string",
"objc_type": "NSString*",
"to_cpp": "std::string(%(n)s.UTF8String)",
"from_cpp": "[NSString stringWithUTF8String:%(n)s.c_str()]",
"swift_type": "String"
},
"TermCriteria": {
"objc_type": "TermCriteria*",
"to_cpp": "%(n)s.nativeRef",

Loading…
Cancel
Save