MCPcopy Create free account
hub / github.com/dillo-browser/dillo / toString

Method toString

lout/object.cc:82–89  ·  view source on GitHub ↗

* \brief Use object::Object::intoStringBuffer to return a textual * representation of the object. * * The caller does not have to free the memory, object::Object is responsible * for this. */

Source from the content-addressed store, hash-verified

80 * for this.
81 */
82const char *Object::toString()
83{
84 /** \todo garbage! */
85 misc::StringBuffer sb;
86 intoStringBuffer(&sb);
87 char *s = dStrdup(sb.getChars());
88 return s;
89}
90
91/**
92 * \brief Store a textual representation of the object in a misc::StringBuffer.

Callers 7

~HashSetMethod · 0.80
clearNodeMethod · 0.80
~HashTableMethod · 0.80
testHashSetFunction · 0.80
testHashTableFunction · 0.80
testVector1Function · 0.80
testVector2Function · 0.80

Calls 2

dStrdupFunction · 0.85
getCharsMethod · 0.80

Tested by

no test coverage detected