aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/typemap_namespace.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/typemap_namespace.i')
-rw-r--r--Examples/test-suite/typemap_namespace.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/typemap_namespace.i b/Examples/test-suite/typemap_namespace.i
index 1c312bcfa..d5a9c0a07 100644
--- a/Examples/test-suite/typemap_namespace.i
+++ b/Examples/test-suite/typemap_namespace.i
@@ -12,6 +12,13 @@ namespace Foo {
struct Str1;
struct Str2;
+#ifdef SWIGCSHARP
+ %typemap(ctype) Str1 * = char *;
+ %typemap(imtype) Str1 * = char *;
+ %typemap(cstype) Str1 * = char *;
+ %typemap(csin) Str1 * = char *;
+ %typemap(csout) Str1 * = char *;
+#endif
#ifdef SWIGJAVA
%typemap(jni) Str1 * = char *;
%typemap(jtype) Str1 * = char *;