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

@ -12,7 +12,7 @@ extern int squareCubed (int n, int *OUTPUT);
extern int gcd(int x, int y);
%typemap(go) (int argc, char *argv[]) "[]string"
%typemap(gotype) (int argc, char *argv[]) "[]string"
%typemap(in) (int argc, char *argv[])
%{
@ -40,7 +40,7 @@ extern int gcd(int x, int y);
extern int gcdmain(int argc, char *argv[]);
%typemap(go) (char *bytes, int len) "string"
%typemap(gotype) (char *bytes, int len) "string"
%typemap(in) (char *bytes, int len)
%{
@ -55,7 +55,7 @@ extern int count(char *bytes, int len, char c);
* modified.
*/
%typemap(go) (char *str, int len) "[]string"
%typemap(gotype) (char *str, int len) "[]string"
%typemap(in) (char *str, int len)
%{

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))