swig/Lib/c
Vadim Zeitlin fd11a591a3 Add cxx{in,out}type typemaps and use them for std::string
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.
2021-12-07 20:54:28 +01:00
..
boost_shared_ptr.i Add minimal shared_ptr support 2021-10-15 01:26:22 +02:00
c.swg Avoid errors due to generating identical overloads 2021-12-05 20:49:20 +01:00
cexcept.swg Make SWIG_CException dtor public to fix memory leak 2021-12-03 03:38:33 +01:00
cheader.swg Make SWIGIMPORT definition more consistent with SWIGEXPORT 2021-10-20 01:57:18 +02:00
clabels.swg Remove unused SWIGPROTECT 2016-04-13 18:10:35 +02:00
std_common.i Revert "Use std/std_vector.i instead of a poor copy in c/std_vector.i" 2021-10-07 22:03:47 +02:00
std_except.i Many major improvements. Almost all testsuite compiles now. 2009-04-15 23:30:16 +00:00
std_map.i Make std::{set,map} has() and has_key() methods const 2021-12-04 17:47:27 +01:00
std_pair.i Add trivial but working std::pair typemaps implementation 2019-08-07 02:16:33 +02:00
std_set.i Make std::{set,map} has() and has_key() methods const 2021-12-04 17:47:27 +01:00
std_shared_ptr.i Add minimal shared_ptr support 2021-10-15 01:26:22 +02:00
std_string.i Add cxx{in,out}type typemaps and use them for std::string 2021-12-07 20:54:28 +01:00
std_vector.i Allow using vector with classes without default ctor in C too 2021-10-07 22:03:47 +02:00
stl.i Many major improvements. Almost all testsuite compiles now. 2009-04-15 23:30:16 +00:00
typemaps.i Many major improvements. Almost all testsuite compiles now. 2009-04-15 23:30:16 +00:00