This makes using returning strings much simpler to use from C++ code as the returned pointers don't have to be deleted manually -- although, of course, this does require an extra allocation and copy and so should be avoided for the very long strings. Add a new runtime test showing how simple and convenient it is to use the functions working with string using the C++ wrappers now. |
||
|---|---|---|
| .. | ||
| boost_shared_ptr.i | ||
| c.swg | ||
| cexcept.swg | ||
| cheader.swg | ||
| clabels.swg | ||
| std_common.i | ||
| std_except.i | ||
| std_map.i | ||
| std_pair.i | ||
| std_set.i | ||
| std_shared_ptr.i | ||
| std_string.i | ||
| std_vector.i | ||
| stl.i | ||
| typemaps.i | ||