C# char wrappers fixes for enum values, static const member char values and %csconst

Use hex escaping for char values used as C# constants
This commit is contained in:
William S Fulton 2016-03-12 17:42:37 +00:00
commit 5fb6537f69
4 changed files with 56 additions and 10 deletions

View file

@ -24,8 +24,8 @@
#if defined(SWIGJAVA)
%javaconst(1);
//#elif SWIGCSHARP
//%csconst(1);
#elif SWIGCSHARP
%csconst(1);
#elif SWIGD
%dmanifestconst;
#endif

View file

@ -41,8 +41,8 @@ struct CharTestClass {
#if defined(SWIGJAVA)
%javaconst(1);
//#elif SWIGCSHARP
//%csconst(1);
#elif SWIGCSHARP
%csconst(1);
#elif SWIGD
%dmanifestconst;
#endif