MCPcopy Create free account
hub / github.com/buggins/coolreader / add

Method add

crengine/src/lvstring.cpp:993–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993size_t lString16Collection::add( const lString16 & str )
994{
995 reserve( 1 );
996 chunks[count] = str.pchunk;
997 str.addref();
998 return count++;
999}
1000void lString16Collection::clear()
1001{
1002 for (size_t i=0; i<count; i++)

Callers

nothing calls this directly

Calls 3

calcStringHashFunction · 0.85
lString16Class · 0.85
addrefMethod · 0.45

Tested by

no test coverage detected