Visit Mozilla.org

nsEmbedCString:get

From MDC

« XPCOM API Reference

[edit] Summary

The get function returns a const pointer to the string's null-terminated, internal buffer.

 const char_type* get() const;

[edit] Example Code

 nsEmbedCString str("hello world");
 printf("%s\n", str.get());