added wchar_t type

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-04-06 06:31:24 +00:00
commit 8a2343f31d
5 changed files with 45 additions and 9 deletions

View file

@ -241,7 +241,7 @@ SWIG_FromWCharArray(const wchar_t * carray, size_t size)
/* typecheck */
%typemap(typecheck,precedence=SWIG_TYPECHECK_STRING,
%typemap(typecheck,precedence=SWIG_TYPECHECK_UNISTRING,
fragment="SWIG_AsWCharPtr")
wchar_t *, wchar_t const*, wchar_t *const, wchar_t const *const,
wchar_t const*&, wchar_t *const&, wchar_t const *const &
@ -335,7 +335,7 @@ SWIG_FromWCharArray(const wchar_t * carray, size_t size)
/* typecheck */
%typemap(typecheck,precedence=SWIG_TYPECHECK_STRING,
%typemap(typecheck,precedence=SWIG_TYPECHECK_UNISTRING,
fragment="SWIG_AsWCharArray")
wchar_t [ANY], const wchar_t[ANY]
{