swig/Examples/test-suite/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
..
abstract_access_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
abstract_inherit_ok_runme.cxx Allow having C++ test cases for C backend 2021-11-19 00:08:43 +01:00
abstract_typedef_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
abstract_virtual_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
access_change_runme.c Fix previously unused access_change unit test runme file 2021-11-10 02:17:07 +01:00
add_link_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
anonymous_bitfield_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
c_backend_cpp_exception_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
c_backend_cpp_natural_std_string_runme.c Streamline and improve std::string typemaps 2021-12-05 03:31:35 +01:00
cast_operator_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
char_strings_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
cpp11_shared_ptr_const_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
cpp11_shared_ptr_upcast_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
cpp_basic_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
cpp_enum_runme.cxx Represent enums as enums, not int, if possible 2021-11-30 02:22:25 +01:00
enum_rename_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
enums_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
exception_order_runme.c Throw SWIG_CException from C++ wrappers automatically 2021-11-27 00:19:05 +01:00
global_vars_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
li_boost_shared_ptr_runme.cxx Add cxx{in,out}type typemaps and use them for std::string 2021-12-07 20:54:28 +01:00
li_std_map_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
li_std_pair_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
li_std_set_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
li_std_string_runme.cxx Add cxx{in,out}type typemaps and use them for std::string 2021-12-07 20:54:28 +01:00
li_std_vector_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00
Makefile.in Enable two previously failing tests that pass now 2021-11-30 02:29:31 +01:00
operator_overload_runme.c Remove wrapper aliases generation and use -namespace in the tests 2021-11-10 02:11:59 +01:00