This just looks like a stupid question, but how am I supposed to printf
a CORBA_wstring? The mapping is:

typedef guint16 gunichar2;
typedef CORBA_wchar gunichar2;
typedef CORBA_wstring *CORBA_wchar;

Any deep reason why we didn't do:

typedef CORBA_wchar wchar_t;
typedef CORBA_wstring *CORBA_wchar;


I can always do printf("%x", *the_wstring) in a for() loop over all wide
characters in the string but it would be so much more elegant to do
printf("%ls", the_wstring).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]