Fix UTL typecheck macro for a function taking char[] or const
char[] (SF#1820132). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ff4bfe41e7
commit
d1dabb7231
2 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,10 @@
|
|||
Version 1.3.32 (in progress)
|
||||
============================
|
||||
|
||||
10/25/2007: olly
|
||||
Fix UTL typecheck macro for a function taking char[] or const
|
||||
char[] (SF#1820132).
|
||||
|
||||
10/22/2007: mkoeppe
|
||||
[Guile] Filter out -ansi -pedantic from CFLAGS while compiling test programs for Guile
|
||||
in configure. This enables running the test suite for Guile if it is installed and
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@
|
|||
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Fix size Character array Char[ANY] handling
|
||||
* Fixed size Character array Char[ANY] handling
|
||||
* ------------------------------------------------------------ */
|
||||
|
||||
/* memberin and globalin typemaps */
|
||||
|
|
@ -354,7 +354,7 @@
|
|||
%typemap(typecheck,noblock=1,precedence=StringCode,
|
||||
fragment=#SWIG_AsCharArray)
|
||||
Char [ANY], const Char[ANY] {
|
||||
int res = SWIG_AsCharArray($input, (Char *)0, $1_dim0);
|
||||
int res = SWIG_AsCharArray($input, (Char *)0, 0);
|
||||
$1 = SWIG_CheckState(res);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue