Fix overloading when using const char[] and char[ANY] and const char[ANY]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5f1c242f1a
commit
89face5db1
2 changed files with 6 additions and 2 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 2.0.3 (in progress)
|
||||
===========================
|
||||
|
||||
2011-03-15: wsfulton
|
||||
[UTL] Fix overloading when using const char[], problem reported by David Maxwell.
|
||||
Similarly for char[ANY] and const char[ANY].
|
||||
|
||||
2011-03-15: wsfulton
|
||||
[C#] Apply patch #3212624 fixing std::map Keys property.
|
||||
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@
|
|||
/* typecheck */
|
||||
|
||||
%typemap(typecheck,noblock=1,precedence=StringCode,
|
||||
fragment=#SWIG_AsCharPtr) Char *, Char const*& {
|
||||
fragment=#SWIG_AsCharPtr) Char *, const Char *, Char const*& {
|
||||
int res = SWIG_AsCharPtr($input, 0, 0);
|
||||
$1 = SWIG_CheckState(res);
|
||||
}
|
||||
|
|
@ -351,7 +351,7 @@
|
|||
%typemap(typecheck,noblock=1,precedence=StringCode,
|
||||
fragment=#SWIG_AsCharArray)
|
||||
Char [ANY], const Char[ANY] {
|
||||
int res = SWIG_AsCharArray($input, (Char *)0, 0);
|
||||
int res = SWIG_AsCharArray($input, (Char *)0, $1_dim0);
|
||||
$1 = SWIG_CheckState(res);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue