signal11/hidapi — pull request #80 by nikolajsheller (2012-08-10 09:40:15+00:00)
Title: OS X: Fixed byte/wchar_t buffer size problem 

The API doc states hid_get_*_string uses a buffer size in multiples of wchar_t, but this is not the case as the implementation currently stands, on OS X.

This commit converts the wchar_t buffer size to byte buffer size where neccessary.