[ruby] add a few tests for std::wstring

This commit is contained in:
Takashi Tamura 2017-02-18 17:54:03 +09:00
commit bfe7204576
3 changed files with 27 additions and 0 deletions

View file

@ -55,6 +55,10 @@ SWIGINTERNINLINE VALUE
#if !defined(SWIG_STD_WSTRING)
%traits_swigtype(std::basic_string<wchar_t>);
%fragment(SWIG_Traits_frag(std::basic_string<wchar_t>));
%fragment(SWIG_AsPtr_frag(std::basic_string<wchar_t>),"header",
fragment="SWIG_AsWCharPtrAndSize") {
SWIGINTERN int