[webkit-help] Pass AtomicStringImpl to printf

Chamal De Silva chamal.desilva at gmail.com
Mon Dec 5 19:10:50 PST 2011


I want to add a printf statement to DocumentOrderedMap::get method to see
the value key parameter.
Key parameter is of type AtomicStringImpl. It cannot be passed directly to
a printf statement like this.

printf("key is %s", key);

What should I do to print the value of key.

Thanks a lot,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111206/13419a2d/attachment.html>

More information about the webkit-help mailing list