Christian Biesinger wrote:
Doug Turner wrote:

jml wrote:

2. what is the "string"/"wstring"/"domstring" mean in XPCOM?
[...]


These types map to the AString and ACString. Take a look at the nsEmbedString for a very light implementation of this virtual class.

Doesn't "string" map to an us-ascii char* and "wstring" to a UTF-16 PRUnichar*?


Duh!  of course it does.  Sorry about that.

see Alec's doc section 8:
http://www.mozilla.org/projects/xpcom/string-guide.html

Doug


Reply via email to