Fix for C# which doesn't have a freearg typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7bc130cb7f
commit
5285c56115
1 changed files with 2 additions and 1 deletions
|
|
@ -23,12 +23,13 @@ namespace Foo {
|
|||
%typemap(jni) Str1 * = char *;
|
||||
%typemap(jtype) Str1 * = char *;
|
||||
%typemap(jstype) Str1 * = char *;
|
||||
%typemap(freearg) Str1 * = char *;
|
||||
%typemap(javain) Str1 * = char *;
|
||||
%typemap(javaout) Str1 * = char *;
|
||||
#endif
|
||||
%typemap(in) Str1 * = char *;
|
||||
#if !defined(SWIGCSHARP)
|
||||
%typemap(freearg) Str1 * = char *;
|
||||
#endif
|
||||
%typemap(typecheck) Str1 * = char *;
|
||||
%apply char * { Str2 * };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue