swig/Lib/csharp
Vadim Zeitlin 28c6140c56 Allow std::set<> C# typemaps to work for non-nullable types too
Notably make them work for primitive types, such as "int".

Doing this requires using "object" instead of the actual C# type of the
variable to store the current value in the iterator, as we don't
currently have a "csnullabletype" typemap that would expand to "T" for
nullable types and "T?" for the other ones. This is a bit ugly, but it
shouldn't matter much for the generated code and is already done in
std::vector<> typemaps.

Also add a simple unit test verifying the basic functionality for such
vectors.

Closes #1568.
2019-07-11 13:09:46 +02:00
..
arrays_csharp.i add bool array type to arrays_csharp.i [issue #228] 2014-09-17 22:17:36 +01:00
boost_intrusive_ptr.i Fix C# CA1063 warning by implementing the recommended Dispose methods. 2019-04-08 19:20:45 +01:00
boost_shared_ptr.i Fix C# CA1063 warning by implementing the recommended Dispose methods. 2019-04-08 19:20:45 +01:00
complex.i Add std_complex.i for C# too 2017-04-14 19:23:31 +02:00
csharp.swg Fix C# CA1063 warning by implementing the recommended Dispose methods. 2019-04-08 19:20:45 +01:00
csharphead.swg Fix C# wrappers FxCop warning CA2002 in SWIGPendingException 2019-04-09 19:35:00 +01:00
csharpkw.swg Csharp: CLS compliance - keyword rename 2016-09-09 16:40:18 +02:00
director.swg Add raise methods for throwing c++ exceptions in C#, Java, D 2017-05-13 17:01:15 +01:00
enums.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
enumsimple.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
enumtypesafe.swg C++11 strongly typed enum fixes for directors 2015-01-15 19:48:07 +00:00
std_array.i Improve backwards compatibility in C#/Java std::array wrappers 2019-04-19 11:06:24 +01:00
std_auto_ptr.i Add std_auto_ptr.i defining typemaps for returning std::auto_ptr<>. 2013-12-03 23:45:20 +01:00
std_common.i const size_t& typemaps added 2006-10-17 21:43:40 +00:00
std_complex.i Precision loss warning fixes for C# std::complex<float> typemaps 2017-10-10 19:26:54 +01:00
std_deque.i Each target language now has its own std_deque.i like the other STL wrappers. 2006-01-08 20:08:44 +00:00
std_except.i Add <typeinfo> header for std::bad_cast 2016-09-17 13:24:32 +02:00
std_list.i Replace void* with iterator* in C# std::list wrappers 2019-03-25 08:02:32 +00:00
std_map.i Add STL container copy constructors where missing 2019-02-14 18:53:05 +00:00
std_pair.i Consistent parameter names for std::pair 2019-02-14 22:44:27 +00:00
std_set.i Allow std::set<> C# typemaps to work for non-nullable types too 2019-07-11 13:09:46 +02:00
std_shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_string.i std::string typemap modifications so they can be used with %apply for other string classes 2012-05-26 06:33:49 +00:00
std_vector.i Java/C# std::vector<bool> workarounds for clang 2019-04-20 11:32:42 +01:00
std_wstring.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
stl.i Create a consistent stl.i library file 2019-02-12 18:46:05 +00:00
swiginterface.i Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value. 2016-05-14 21:32:24 +01:00
swigtype_inout.i Add new swigtype_inout.i library containing SWIGTYPE *& OUTPUT typemaps. 2014-02-04 06:54:22 +00:00
typemaps.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00
wchar.i Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members. 2013-10-17 15:44:24 -05:00