cppyy is the only Python package I've found for wrapping a C++ Lib using char16_t* strings under Linux. Given a function:
int ::func1(const char16_t* symbol, char16_t* data, const unsigned int length)
// [in] symbol, [out] data, [in] length
// Returns a string "data" of "length" dependent on keyword "symbol"
How do I read the string "data" from the function? The ctypes-Approach does not work:
length = 10
val = ctypes.create_unicode_buffer(length)
cppyy.gbl.func1('Keyname', val, length)
Worked through the Documentation and managed to wrap everything beside this. Hints very appreciated.