William S Fulton
929cfde883
C# CreateWStringFromUTF32 optimisation
...
Avoid UTF-32 to UTF-8 conversion then get string from UTF-8
Missing change that should have gone into eaf468e9e8
2022-09-30 23:21:39 +01:00
William S Fulton
eaf468e9e8
C# CreateWStringFromUTF32 optimisation
...
Avoid UTF-32 to UTF-8 conversion then get string from UTF-8
Issue #2369
2022-09-22 18:54:49 +01:00
William S Fulton
bb39235c9c
Add C# wchar_t * director typemaps
...
More Python std::wstring directors Python testing
2022-05-04 21:37:47 +01:00
William S Fulton
79a9389355
Add support for throwing wstring exceptions
...
Throw an ApplicationException for std::wstring and wchar_t * strings
2022-05-02 21:08:19 +01:00
William S Fulton
0fbd6cc364
wchar_t C# marshalling tweak
...
Use more appropriate unsigned short (2 byte type) pointer
for C# ctype instead of wchar_t pointer
2022-05-02 21:08:19 +01:00
William S Fulton
ed42422d1c
Add support for wchar_t * and std::wstring Unicode strings on Linux
...
Initial contributions for Linux provided in issue #1233 , modified to work
on both Windows and Linux. Dual support is possible by detecting
the sizeof wchar_t which is different on each of these systems.
2022-05-02 21:08:19 +01:00
Gareth Francis
beb1d8498d
Fix C# wchar_t* csvarout to be same as csout
2020-09-05 17:03:34 +01:00
William S Fulton
15a0681b11
Add note about wchar_t marshalling fix required for Windows
2019-07-25 18:57:10 +01:00
smithx
8f6d97ab8c
fix undesirable wstring encoding at return value marshalling for C#
2019-07-22 19:11:21 +01:00
Brant K. Kyser
adb93980f2
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
Brant K. Kyser
3235570619
Globablly qualify the use of types from the .NET framework's System namespace in the C# module and library.
2013-10-17 13:27:48 -05:00
William S Fulton
a4a56acd33
dos to unix fileformatting
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-07 06:06:12 +00:00
William S Fulton
4308dd03cf
SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:26:02 +00:00
William S Fulton
e7f8954bea
remove svn:executable property where applied incorrectly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:54:49 +00:00
William S Fulton
4b31a3ee50
add C# std::string and wchar typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-15 23:50:39 +00:00