15 lines
239 B
OpenEdge ABL
15 lines
239 B
OpenEdge ABL
%module unicode_strings
|
|
|
|
%include <std_string.i>
|
|
|
|
%inline %{
|
|
|
|
const char* non_utf8_c_str(void) {
|
|
return "h\xe9llo w\xc3\xb6rld";
|
|
}
|
|
|
|
std::string non_utf8_std_string(void) {
|
|
return std::string("h\xe9llo w\xc3\xb6rld");
|
|
}
|
|
|
|
%}
|