1 %module typemap_namespace
16 %typemap(ctype) Str1 * = char *;
17 %typemap(imtype) Str1 * = char *;
18 %typemap(cstype) Str1 * = char *;
19 %typemap(csin) Str1 * = char *;
20 %typemap(csout) Str1 * = char *;
23 %typemap(jni) Str1 * = char *;
24 %typemap(jtype) Str1 * = char *;
25 %typemap(jstype) Str1 * = char *;
26 %typemap(javain) Str1 * = char *;
27 %typemap(javaout) Str1 * = char *;
29 %typemap(in) Str1 * = char *;
30 #if !(defined(SWIGCSHARP) || defined(SWIGLUA) || defined(SWIGPHP) || defined(SWIGMZSCHEME) || defined(SWIGOCAML))
31 %typemap(freearg) Str1 * = char *;
33 %typemap(typecheck) Str1 * = char *;
34 %apply char * { Str2 * };
39 char *test1(Str1 *s) {
42 char *test2(Str2 *s) {