Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e0449d3d16
commit
aa84817ce0
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ SWIG_AsWCharPtrAndSize(VALUE obj, wchar_t **cptr, size_t *psize, int *alloc)
|
|||
SWIGINTERNINLINE VALUE
|
||||
SWIG_FromWCharPtrAndSize(const wchar_t * carray, size_t size)
|
||||
{
|
||||
return SWIG_FromCharPtrAndSize( (const char**)cptr, size);
|
||||
return SWIG_FromCharPtrAndSize( (const char*)carray, size);
|
||||
// if (carray) {
|
||||
// if (size > INT_MAX) {
|
||||
// swig_type_info* pwchar_descriptor = SWIG_pwchar_descriptor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue