Merge branch 'tamuratak-fix_ruby_wstring'
* tamuratak-fix_ruby_wstring:
[ruby] use %fragment to clarify the dependency of code.
[ruby] should initialize static variables inside %init{}, in which it will not be excuted concurrently by multiple threads.
[ruby] * use static variable to avoid creating stirngs every time. * fix possible overflow.
[ruby] add std::wstring tests for string including a null terminator.
[ruby] * rewrite SWIG_AsWCharPtrAndSize and SWIG_FromWCharPtrAndSize * use UTF-32LE and UTF-16LE to avoid BOM * add tests
[ruby] use WCHAR_MAX to determine the encoding of std::wstring.
[ruby] add a few tests for std::wstring
[ruby] fix support for std::wstring.
This commit is contained in:
commit
e9e9531dc3
6 changed files with 137 additions and 53 deletions
|
|
@ -21,6 +21,7 @@ CPP_TEST_CASES = \
|
|||
li_std_queue \
|
||||
li_std_set \
|
||||
li_std_stack \
|
||||
li_std_wstring \
|
||||
primitive_types \
|
||||
ruby_keywords \
|
||||
ruby_minherit_shared_ptr \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue