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:
parent
391a3cf00a
commit
5fb6537f69
4 changed files with 56 additions and 10 deletions
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#if defined(SWIGJAVA)
|
||||
%javaconst(1);
|
||||
//#elif SWIGCSHARP
|
||||
//%csconst(1);
|
||||
#elif SWIGCSHARP
|
||||
%csconst(1);
|
||||
#elif SWIGD
|
||||
%dmanifestconst;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ struct CharTestClass {
|
|||
|
||||
#if defined(SWIGJAVA)
|
||||
%javaconst(1);
|
||||
//#elif SWIGCSHARP
|
||||
//%csconst(1);
|
||||
#elif SWIGCSHARP
|
||||
%csconst(1);
|
||||
#elif SWIGD
|
||||
%dmanifestconst;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue