Hii All
Does anybody know about the behavoir of Android’s compiler for target
on wide strings like L”string” ??
I have a piece of code like this:
Unsigned short* TESTWSTRING[] =
{
L".jpg”, L”.txt”
};
Will TESTWSTRING[0] & TESTWSTRING[1] be widestrings ?
In Win32, memory used by TESTWSTRING[0] is 5x2 bytes(inclusive of null
termination). But in Android this is not the case. So wondering
whether prepending “L” to a string is valid in Android or not?
Can someone please explain this difference in behavior?
Please do advise.
thanks,
Latha.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en