Fixed (char *STRING, int LENGTH) typemap to use STRLEN type.
Eliminates compiler warning. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7d38c269be
commit
9aecb608c5
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@
|
|||
* ------------------------------------------------------------ */
|
||||
|
||||
%typemap(in) (char *STRING, int LENGTH) {
|
||||
unsigned int temp;
|
||||
STRLEN temp;
|
||||
$1 = ($1_ltype) SvPV($input,temp);
|
||||
$2 = ($2_ltype) temp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue