Rename "go" typemap to "gotype".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Ian Lance Taylor 2010-06-15 19:40:34 +00:00
commit da5e02f81c
9 changed files with 50 additions and 50 deletions

View file

@ -71,7 +71,7 @@ namespace test {
}
#endif
#ifdef SWIGGO
%typemap(go) test::test_complex * "complex128"
%typemap(gotype) test::test_complex * "complex128"
%typemap(in) test::test_complex * {
$1 = new test_complex(__real__ $input, __imag__ $input);
}
@ -107,7 +107,7 @@ namespace test {
}
#endif
#ifdef SWIGGO
%typemap(go) string_class * "string"
%typemap(gotype) string_class * "string"
%typemap(in) string_class * {
$1 = new string_class($input.p);
}

View file

@ -27,7 +27,7 @@ namespace Foo {
%typemap(javaout) Str1 * = char *;
#endif
#ifdef SWIGGO
%typemap(go) Str1 * = char *;
%typemap(gotype) Str1 * = char *;
#endif
%typemap(in) Str1 * = char *;
#if !(defined(SWIGCSHARP) || defined(SWIGLUA) || defined(SWIGPHP) || defined(SWIGMZSCHEME) || defined(SWIGOCAML) || defined(SWIGGO))