typemap fix for c# and visual c++

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-10-09 19:24:21 +00:00
commit 84c385ef83

View file

@ -53,7 +53,11 @@ namespace ns1 {
#ifdef SWIG
%typemap(in) A * { /* in A */ }
#ifdef SWIGCSHARP
%typemap(out) A * { /* out A */ $result=0; }
#else
%typemap(out) A * { /* out A */ }
#endif
#endif
};
@ -69,7 +73,11 @@ namespace ns1 {
#ifdef SWIG
%typemap(in) N * { /* in N */ }
#ifdef SWIGCSHARP
%typemap(out) N * { /* out N */ $result=0; }
#else
%typemap(out) N * { /* out N */ }
#endif
#endif
};
}